1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +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
}

19
glide.lock generated
View File

@ -1,12 +1,12 @@
hash: 21820434709470e49c64df0f854d3352088ca664d193e29bc6cd434518c27a7c
updated: 2016-08-19T08:14:51.641635398-07:00
hash: dcb2a2984f2e724f0419065a77a4c8a6a52539349e8994c347f0efdb1fca972c
updated: 2016-09-08T08:30:16.896450504-07:00
imports:
- name: github.com/davecgh/go-spew
version: 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d
version: 6d212800a42e8ab5c146b8ace3490ee17e5225f9
subpackages:
- spew
- name: github.com/dgrijalva/jwt-go
version: 63734eae1ef55eaac06fdc0f312615f2e321e273
version: 24c63f56522a87ec5339cc3567883f1039378fdb
- name: github.com/klauspost/compress
version: 08fe86a420401e830c24114bdf9f1ba91331407a
subpackages:
@ -20,16 +20,16 @@ imports:
- name: github.com/labstack/gommon
version: 431777a5117c8de4352a400dad1e2a55f484b189
subpackages:
- bytes
- color
- log
- bytes
- random
- name: github.com/mattn/go-colorable
version: ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8
- name: github.com/mattn/go-isatty
version: 66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8
- name: github.com/pmezard/go-difflib
version: d8ed2627bdf02c080bf22230dbb337003b7aba2d
version: 792786c7400a136282c1664665ae0a8db921c6c2
subpackages:
- difflib
- name: github.com/stretchr/testify
@ -39,18 +39,17 @@ imports:
- name: github.com/valyala/bytebufferpool
version: e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7
- name: github.com/valyala/fasthttp
version: 834fb48f10402a9c58ed0637ec47ba0d91f201c8
version: 0503f9d38c2eb8793a0210f950a815810ffd1b64
subpackages:
- fasthttputil
- name: github.com/valyala/fasttemplate
version: 3b874956e03f1636d171bda64b130f9135f42cff
- name: golang.org/x/net
version: 07b51741c1d6423d4a6abab1c49940ec09cb1aaf
version: 9313baa13d9262e49d07b20ed57dceafcd7240cc
subpackages:
- context
- websocket
- name: golang.org/x/sys
version: a646d33e2ee3172a661fc09bca23bb4889a41bc8
version: 30de6d19a3bd89a5f38ae4028e23aaa5582648af
subpackages:
- unix
testImports: []

View File

@ -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
- package: github.com/valyala/fasthttp
- package: golang.org/x/net
subpackages:
- context
- websocket
- package: github.com/valyala/fasttemplate
- random
- package: github.com/mattn/go-isatty
- package: github.com/stretchr/testify
subpackages:
- assert
- package: github.com/dgrijalva/jwt-go
- package: github.com/valyala/fasthttp
- package: github.com/valyala/fasttemplate
- package: golang.org/x/net
subpackages:
- context