Files
oslstats/internal/contexts/keys.go
2026-02-04 18:57:33 +11:00

14 lines
295 B
Go

// 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")
)