1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-26 20:54:00 +02:00
echo/context/context_pre1.7.go

14 lines
239 B
Go
Raw Normal View History

// +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)
}