File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ type Session struct {
51
51
vals map [string ]any
52
52
}
53
53
54
- const marianKey string = "martian.Context"
54
+ const martianKey string = "martian.Context"
55
55
56
56
// NewContext returns a context for the in-flight HTTP request.
57
57
func NewContext (req * http.Request ) * Context {
58
- v := req .Context ().Value (marianKey )
58
+ v := req .Context ().Value (martianKey )
59
59
if v == nil {
60
60
return nil
61
61
}
@@ -178,7 +178,7 @@ func (ctx *Context) addToContext(rctx context.Context) context.Context {
178
178
if rctx == nil {
179
179
rctx = context .Background ()
180
180
}
181
- return context .WithValue (rctx , marianKey , ctx )
181
+ return context .WithValue (rctx , martianKey , ctx )
182
182
}
183
183
184
184
// Session returns the session for the context.
You can’t perform that action at this time.
0 commit comments