diff options
Diffstat (limited to 'common/hreflect/helpers.go')
-rw-r--r-- | common/hreflect/helpers.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/hreflect/helpers.go b/common/hreflect/helpers.go index 0cc42ecc5..beab182bb 100644 --- a/common/hreflect/helpers.go +++ b/common/hreflect/helpers.go @@ -17,6 +17,7 @@ package hreflect import ( + "context" "reflect" "github.com/gohugoio/hugo/common/types" @@ -124,3 +125,5 @@ func indirectInterface(v reflect.Value) reflect.Value { } return v.Elem() } + +var ContextInterface = reflect.TypeOf((*context.Context)(nil)).Elem() |