Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init()
Init get the environments value from flags, default fall back is development.
func IsTestEnvironment ¶
func IsTestEnvironment() bool
IsTestEnvironment check if the current environment is test
func LoadSettingsByEnv ¶
func LoadSettingsByEnv(env string)
LoadSettingsByEnv load the .toml setting files from ~/.config/vantaa/<environment>.toml.
Types ¶
Click to show internal directories.
Click to hide internal directories.