1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-10 00:28:23 +02:00
echo/context/context_1.7.go

14 lines
221 B
Go
Raw Permalink Normal View History

// +build go1.7
package context
import "context"
func Background() Context {
return context.Background()
}
func WithValue(parent Context, key, val interface{}) Context {
return context.WithValue(parent, key, val)
}