- Notifications
You must be signed in to change notification settings - Fork62
Releases: go-gcfg/gcfg
v1.2.3
61b2c08
Compare
v1.2.2
Compare
allow escaped double-quotes in unquoted string values
Assets2
v1.2.1
v1.2.0
Compare
This release adds support for warnings (non-fatal errors). Now it is possible to ignore errors from extra data that cannot be stored into the configuration struct, as requested (among others) in#2. SeeError handling andgcfg.FatalOnly for details. This feature has been enabled by the newwarnings.v0 package.
Assets2
v1.1.0
Compare
This release adds support for subsection defaults. Default values can be provided for subsection if there is a corresponding sectiondefault-<sectionname>
. The values can either be set programmatically by pre-setting the fields in structDefault_<sectionname>
, or from the configuration data in the sectiondefault-<sectionname>
. As usual, configuration file values override pre-set field values. Default values are only applied to newly defined subsections (those for which a map value did not exist prior to reading the configuration data). The structDefault_<sectionname>
must begob-encodeable (gob-encoding/decoding is used for deep-copying of the struct values).
Assets2
initial release
Compare
initial release