Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
func NewContext(ctx context.Context, id IDGenerator) context.Context
NewContext added an IDGenerator to the Context.
Types ¶
type IDGenerator ¶
IDGenerator specification.
func FromContext ¶
func FromContext(ctx context.Context) IDGenerator
FromContext extracts an IDGenerator from the Context.
Click to show internal directories.
Click to hide internal directories.