moved packages out of pkg
This commit is contained in:
13
internal/contexts/keys.go
Normal file
13
internal/contexts/keys.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Package contexts provides utilities for loading and extracting structs from contexts
|
||||
package contexts
|
||||
|
||||
type Key string
|
||||
|
||||
func (c Key) String() string {
|
||||
return "oslstats context key " + string(c)
|
||||
}
|
||||
|
||||
var (
|
||||
DevModeKey Key = Key("devmode")
|
||||
PermissionCacheKey Key = Key("permissions")
|
||||
)
|
||||
Reference in New Issue
Block a user