aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gorilla/mux/context.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-13 02:34:57 +0100
committerGitHub <noreply@github.com>2020-02-13 02:34:57 +0100
commitc16e12f6c51e03dd950cbe4b9ac3bb92519fef71 (patch)
treeb3aa140ed2aa14aaf44bcd665ebc741955f2420d /vendor/github.com/gorilla/mux/context.go
parent502a87a1b16216b4ba5044817a648d3c865d63b4 (diff)
parentb916263d013361e2ac3020ade598a65d46a77465 (diff)
downloadpodman-c16e12f6c51e03dd950cbe4b9ac3bb92519fef71.tar.gz
podman-c16e12f6c51e03dd950cbe4b9ac3bb92519fef71.tar.bz2
podman-c16e12f6c51e03dd950cbe4b9ac3bb92519fef71.zip
Merge pull request #5181 from containers/dependabot/go_modules/github.com/gorilla/mux-1.7.4
build(deps): bump github.com/gorilla/mux from 1.7.3 to 1.7.4
Diffstat (limited to 'vendor/github.com/gorilla/mux/context.go')
-rw-r--r--vendor/github.com/gorilla/mux/context.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/github.com/gorilla/mux/context.go b/vendor/github.com/gorilla/mux/context.go
deleted file mode 100644
index 665940a26..000000000
--- a/vendor/github.com/gorilla/mux/context.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package mux
-
-import (
- "context"
- "net/http"
-)
-
-func contextGet(r *http.Request, key interface{}) interface{} {
- return r.Context().Value(key)
-}
-
-func contextSet(r *http.Request, key, val interface{}) *http.Request {
- if val == nil {
- return r
- }
-
- return r.WithContext(context.WithValue(r.Context(), key, val))
-}