README ¶ goconfig The package contains little helper functions that can snapshot a struct with exported fields and current values to a config file and reload it. This might be useful to implement functionalities such as stop/resume. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Load(v interface{}, loadFrom string) error func Save(v interface{}, saveTo string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Load ¶ func Load(v interface{}, loadFrom string) error Load uses the same json taggers but reads from INI for readability func Save ¶ func Save(v interface{}, saveTo string) error Save convert to INI for readability Types ¶ This section is empty. Source Files ¶ View all Source files goconfig.go Click to show internal directories. Click to hide internal directories.