aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gorilla/mux/context_gorilla.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gorilla/mux/context_gorilla.go')
-rw-r--r--vendor/github.com/gorilla/mux/context_gorilla.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/vendor/github.com/gorilla/mux/context_gorilla.go b/vendor/github.com/gorilla/mux/context_gorilla.go
deleted file mode 100644
index d7adaa8fa..000000000
--- a/vendor/github.com/gorilla/mux/context_gorilla.go
+++ /dev/null
@@ -1,26 +0,0 @@
-// +build !go1.7
-
-package mux
-
-import (
- "net/http"
-
- "github.com/gorilla/context"
-)
-
-func contextGet(r *http.Request, key interface{}) interface{} {
- return context.Get(r, key)
-}
-
-func contextSet(r *http.Request, key, val interface{}) *http.Request {
- if val == nil {
- return r
- }
-
- context.Set(r, key, val)
- return r
-}
-
-func contextClear(r *http.Request) {
- context.Clear(r)
-}