mirror of
https://github.com/labstack/echo.git
synced 2024-11-24 08:22:21 +02:00
Updated deps, removed Context#Context()
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
parent
2b0071df02
commit
2d772e02ca
@ -26,9 +26,6 @@ type (
|
|||||||
Context interface {
|
Context interface {
|
||||||
context.Context
|
context.Context
|
||||||
|
|
||||||
// Context returns `context.Context`.
|
|
||||||
Context() context.Context
|
|
||||||
|
|
||||||
// SetContext sets `context.Context`.
|
// SetContext sets `context.Context`.
|
||||||
SetContext(context.Context)
|
SetContext(context.Context)
|
||||||
|
|
||||||
@ -193,10 +190,6 @@ const (
|
|||||||
indexPage = "index.html"
|
indexPage = "index.html"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *echoContext) Context() context.Context {
|
|
||||||
return c.context
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *echoContext) SetContext(ctx context.Context) {
|
func (c *echoContext) SetContext(ctx context.Context) {
|
||||||
c.context = ctx
|
c.context = ctx
|
||||||
}
|
}
|
||||||
|
19
glide.lock
generated
19
glide.lock
generated
@ -1,12 +1,12 @@
|
|||||||
hash: 21820434709470e49c64df0f854d3352088ca664d193e29bc6cd434518c27a7c
|
hash: dcb2a2984f2e724f0419065a77a4c8a6a52539349e8994c347f0efdb1fca972c
|
||||||
updated: 2016-08-19T08:14:51.641635398-07:00
|
updated: 2016-09-08T08:30:16.896450504-07:00
|
||||||
imports:
|
imports:
|
||||||
- name: github.com/davecgh/go-spew
|
- name: github.com/davecgh/go-spew
|
||||||
version: 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d
|
version: 6d212800a42e8ab5c146b8ace3490ee17e5225f9
|
||||||
subpackages:
|
subpackages:
|
||||||
- spew
|
- spew
|
||||||
- name: github.com/dgrijalva/jwt-go
|
- name: github.com/dgrijalva/jwt-go
|
||||||
version: 63734eae1ef55eaac06fdc0f312615f2e321e273
|
version: 24c63f56522a87ec5339cc3567883f1039378fdb
|
||||||
- name: github.com/klauspost/compress
|
- name: github.com/klauspost/compress
|
||||||
version: 08fe86a420401e830c24114bdf9f1ba91331407a
|
version: 08fe86a420401e830c24114bdf9f1ba91331407a
|
||||||
subpackages:
|
subpackages:
|
||||||
@ -20,16 +20,16 @@ imports:
|
|||||||
- name: github.com/labstack/gommon
|
- name: github.com/labstack/gommon
|
||||||
version: 431777a5117c8de4352a400dad1e2a55f484b189
|
version: 431777a5117c8de4352a400dad1e2a55f484b189
|
||||||
subpackages:
|
subpackages:
|
||||||
|
- bytes
|
||||||
- color
|
- color
|
||||||
- log
|
- log
|
||||||
- bytes
|
|
||||||
- random
|
- random
|
||||||
- name: github.com/mattn/go-colorable
|
- name: github.com/mattn/go-colorable
|
||||||
version: ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8
|
version: ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8
|
||||||
- name: github.com/mattn/go-isatty
|
- name: github.com/mattn/go-isatty
|
||||||
version: 66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8
|
version: 66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8
|
||||||
- name: github.com/pmezard/go-difflib
|
- name: github.com/pmezard/go-difflib
|
||||||
version: d8ed2627bdf02c080bf22230dbb337003b7aba2d
|
version: 792786c7400a136282c1664665ae0a8db921c6c2
|
||||||
subpackages:
|
subpackages:
|
||||||
- difflib
|
- difflib
|
||||||
- name: github.com/stretchr/testify
|
- name: github.com/stretchr/testify
|
||||||
@ -39,18 +39,17 @@ imports:
|
|||||||
- name: github.com/valyala/bytebufferpool
|
- name: github.com/valyala/bytebufferpool
|
||||||
version: e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7
|
version: e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7
|
||||||
- name: github.com/valyala/fasthttp
|
- name: github.com/valyala/fasthttp
|
||||||
version: 834fb48f10402a9c58ed0637ec47ba0d91f201c8
|
version: 0503f9d38c2eb8793a0210f950a815810ffd1b64
|
||||||
subpackages:
|
subpackages:
|
||||||
- fasthttputil
|
- fasthttputil
|
||||||
- name: github.com/valyala/fasttemplate
|
- name: github.com/valyala/fasttemplate
|
||||||
version: 3b874956e03f1636d171bda64b130f9135f42cff
|
version: 3b874956e03f1636d171bda64b130f9135f42cff
|
||||||
- name: golang.org/x/net
|
- name: golang.org/x/net
|
||||||
version: 07b51741c1d6423d4a6abab1c49940ec09cb1aaf
|
version: 9313baa13d9262e49d07b20ed57dceafcd7240cc
|
||||||
subpackages:
|
subpackages:
|
||||||
- context
|
- context
|
||||||
- websocket
|
|
||||||
- name: golang.org/x/sys
|
- name: golang.org/x/sys
|
||||||
version: a646d33e2ee3172a661fc09bca23bb4889a41bc8
|
version: 30de6d19a3bd89a5f38ae4028e23aaa5582648af
|
||||||
subpackages:
|
subpackages:
|
||||||
- unix
|
- unix
|
||||||
testImports: []
|
testImports: []
|
||||||
|
16
glide.yaml
16
glide.yaml
@ -1,16 +1,18 @@
|
|||||||
package: github.com/labstack/echo
|
package: github.com/labstack/echo
|
||||||
import:
|
import:
|
||||||
|
- package: github.com/dgrijalva/jwt-go
|
||||||
- package: github.com/labstack/gommon
|
- package: github.com/labstack/gommon
|
||||||
subpackages:
|
subpackages:
|
||||||
|
- bytes
|
||||||
- color
|
- color
|
||||||
- log
|
- log
|
||||||
- package: github.com/valyala/fasthttp
|
- random
|
||||||
- package: golang.org/x/net
|
- package: github.com/mattn/go-isatty
|
||||||
subpackages:
|
|
||||||
- context
|
|
||||||
- websocket
|
|
||||||
- package: github.com/valyala/fasttemplate
|
|
||||||
- package: github.com/stretchr/testify
|
- package: github.com/stretchr/testify
|
||||||
subpackages:
|
subpackages:
|
||||||
- assert
|
- assert
|
||||||
- package: github.com/dgrijalva/jwt-go
|
- package: github.com/valyala/fasthttp
|
||||||
|
- package: github.com/valyala/fasttemplate
|
||||||
|
- package: golang.org/x/net
|
||||||
|
subpackages:
|
||||||
|
- context
|
||||||
|
Loading…
Reference in New Issue
Block a user