Documentation ¶
Index ¶
Constants ¶
View Source
const CLIName = "atlas"
CLIName is the name of the project.
Variables ¶
View Source
var ErrContextConfigValueIsNotConfigType = errors.New(
"context config value cannot be cast to config type",
)
Functions ¶
This section is empty.
Types ¶
type ContextKey ¶
type ContextKey string
ContextKey is a dedicated type for accessing context values via a key, to avoid collisions. https://www.calhoun.io/pitfalls-of-context-values-and-how-to-avoid-or-mitigate-them
const ContextConfigKey ContextKey = "atlas.config"
ContextConfigKey is the key used to store the Config in a context.Context.
Click to show internal directories.
Click to hide internal directories.