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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user