Documentation ¶
Overview ¶
Package gctx wraps context.Context and provides extra context features.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInitCtx ¶ added in v2.1.3
GetInitCtx returns the initialization context. Initialization context is used in `main` or `init` functions.
func SetInitCtx ¶ added in v2.1.3
SetInitCtx sets custom initialization context. Note that this function cannot be called in multiple goroutines.
Types ¶
Click to show internal directories.
Click to hide internal directories.