gocommon/commonctx/contextkey.go

11 lines
309 B
Go
Raw Permalink Normal View History

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