package
Version:
v0.0.0-...-f96ffc0
Opens a new window with list of versions in this module.
Published: Jul 11, 2015
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package config converts a config struct to and from string format and persists to file.
Get config value as a string
func Keys(cfg interface{}) []string
Return an array of strings with the struct keys
func Print(cfg interface{})
Print the config to stdout
Save config struct to disk
Set config value from a string
func Update(cfg, in interface{})
Update values in config struct cfg to in
Source Files
¶
Click to show internal directories.
Click to hide internal directories.