refactor: changed file structure
This commit is contained in:
12
pkg/contexts/keys.go
Normal file
12
pkg/contexts/keys.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package contexts
|
||||
|
||||
type contextKey string
|
||||
|
||||
func (c contextKey) String() string {
|
||||
return "projectreshoot context key " + string(c)
|
||||
}
|
||||
|
||||
var (
|
||||
contextKeyAuthorizedUser = contextKey("auth-user")
|
||||
contextKeyRequestTime = contextKey("req-time")
|
||||
)
|
||||
Reference in New Issue
Block a user