Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextKey ¶
type ContextKey struct {
Name string
}
ContextKey is a value for use with context.WithValue. It's used as a pointer so it fits in an any without allocation.
func New ¶
func New(name string) *ContextKey
func (*ContextKey) String ¶
func (k *ContextKey) String() string
Click to show internal directories.
Click to hide internal directories.