Skip to content

Commit

Permalink
Updated deps, removed Context#Context()
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Sep 8, 2016
1 parent 2b0071d commit 2d772e0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 23 deletions.
7 changes: 0 additions & 7 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ type (
Context interface {
context.Context

// Context returns `context.Context`.
Context() context.Context

// SetContext sets `context.Context`.
SetContext(context.Context)

Expand Down Expand Up @@ -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
}
Expand Down
19 changes: 9 additions & 10 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
package: github.com/labstack/echo
import:
- package: github.com/dgrijalva/jwt-go
- package: github.com/labstack/gommon
subpackages:
- bytes
- color
- log
- random
- package: github.com/mattn/go-isatty
- package: github.com/stretchr/testify
subpackages:
- assert
- package: github.com/valyala/fasthttp
- package: github.com/valyala/fasttemplate
- package: golang.org/x/net
subpackages:
- context
- websocket
- package: github.com/valyala/fasttemplate
- package: github.com/stretchr/testify
subpackages:
- assert
- package: github.com/dgrijalva/jwt-go

0 comments on commit 2d772e0

Please sign in to comment.