Documentation
¶
Overview ¶
Package cconfig helps read app config easily with support for different environments
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env string
Env defines the various environments the app can be configured for. The Env may be dev, test, staging, or prod.
type ProjectDir ¶
type ProjectDir string
ProjectDir defines the project directory. This variable can be used in the config file with {{ .ProjectDir }}. It is set by passing a -project flag to the app binary.
Directories
¶
Path | Synopsis |
---|---|
Package cconfigtest provides helper methods to test the cconfig package
|
Package cconfigtest provides helper methods to test the cconfig package |
Click to show internal directories.
Click to hide internal directories.