Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultContext = context.TODO()
View Source
var ErrIncorrectNumberOfItems = errors.New("number of items is not even")
Functions ¶
func ValueOrDefault ¶ added in v0.0.48
ValueOrDefault returns default context if given is nil (using interface to avoid static check reporting)
func WithValues ¶
WithValues combines multiple key-value into an existing context
Types ¶
type ContextArg ¶ added in v0.0.48
type ContextArg string
Click to show internal directories.
Click to hide internal directories.