Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(filename string) (*config.Config, error)
Load reads given file and returns the read config, or error.
func ReadConfigFile ¶
func ReadConfigFile(filename string, cfg interface{}) error
ReadConfigFile reads the config from `filename` into `cfg`.
func WriteConfigFile ¶
func WriteConfigFile(filename string, cfg interface{}) error
WriteConfigFile writes the config from `cfg` into `filename`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.