11 lines
309 B
Go
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"
|
||
|
)
|