mirror of
https://github.com/labstack/echo.git
synced 2024-11-30 08:46:41 +02:00
ad8f0dd012
Signed-off-by: Vishal Rana <vr@labstack.com>
14 lines
239 B
Go
14 lines
239 B
Go
// +build !go1.7
|
|
|
|
package context
|
|
|
|
import "golang.org/x/net/context"
|
|
|
|
func Background() Context {
|
|
return context.Background()
|
|
}
|
|
|
|
func WithValue(parent Context, key, val interface{}) Context {
|
|
return context.WithValue(parent, key, val)
|
|
}
|