1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-29 22:48:07 +02:00

Updated deps, removed Context#Context()

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2016-09-08 14:54:07 -07:00
parent 2b0071df02
commit 2d772e02ca
3 changed files with 18 additions and 24 deletions

View File

@@ -26,9 +26,6 @@ type (
Context interface {
context.Context
// Context returns `context.Context`.
Context() context.Context
// SetContext sets `context.Context`.
SetContext(context.Context)
@@ -193,10 +190,6 @@ const (
indexPage = "index.html"
)
func (c *echoContext) Context() context.Context {
return c.context
}
func (c *echoContext) SetContext(ctx context.Context) {
c.context = ctx
}