Documentation ¶
Index ¶
Constants ¶
View Source
const CONFIG_FILE_DEFAULT = "~/.config/scriv/config.json"
View Source
const CONFIG_FILE_ENV_OVERRIDE = "SCRIV_CONFIG"
Variables ¶
This section is empty.
Functions ¶
func ConfigFilePath ¶
func ConfigFilePath() string
Determine the path to the configuration file, as it may be overridden by an environment variable
Types ¶
type ConfigKey ¶
type ConfigKey struct{}
The key struct for accesing the config object in the context
Click to show internal directories.
Click to hide internal directories.