gocommon/commonctx/contextkey.go
Matthieu 'JP' DERASSE d880059980
All checks were successful
continuous-integration/drone/push Build is passing
feat(middlewares): Continue adding std middlewares
2023-01-29 16:00:49 +00:00

11 lines
309 B
Go

package commonctx
// contextkey is a string type that will be used to define standard key used for values in context.
type contextkey string
//nolint:exported // keeping the enum simple and readable.
const (
ContextKey_MainLogger contextkey = "mainLogger"
ContextKey_RequestID contextkey = "requestID"
)