Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Cfg *viper.Viper
)
Functions ¶
func InitConfig ¶
InitConfig initializes the config module using the given cfgDir to load config files
func SetRuntimeEnv ¶
func SetRuntimeEnv(newvar string)
SetRuntimeEnv sets the runtime environment envar This envar is used to get the runtime environment, e.g prod or staging or devint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.