diff --git a/context.go b/context.go index 353c52f1..fc62ad9c 100644 --- a/context.go +++ b/context.go @@ -379,6 +379,11 @@ func (c Context) Interface(key string, i interface{}) Context { return c } +// Any is a wrapper around Context.Interface. +func (c Context) Any(key string, i interface{}) Context { + return c.Interface(key, i) +} + type callerHook struct { callerSkipFrameCount int }