All Versions
6
Latest Version
Avg Release Cycle
145 days
Latest Release
892 days ago

Changelog History

  • v1.2.3

    May 17, 2018

    gcfg.ReadFileInto now skips a single leading UTF8 BOM sequence if it exists.
    ๐Ÿ— gcfg now requires at least Go 1.2 to build.

  • v1.2.2

    March 28, 2018

    ๐Ÿ‘ allow escaped double-quotes in unquoted string values

  • v1.2.1

    October 16, 2017

    ๐Ÿš€ This release adds location information to parsing erros, as requested in #11 .

  • v1.2.0

    August 14, 2016

    ๐Ÿš€ 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. See Error handling and gcfg.FatalOnly for details. This feature has been enabled by the new warnings.v0 package.

  • v1.1.0

    August 14, 2016

    ๐Ÿ”ง This release adds support for subsection defaults. Default values can be provided for subsection if there is a corresponding section default-<sectionname>. The values can either be set programmatically by pre-setting the fields in struct Default_<sectionname>, or from the configuration data in the section default-<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 struct Default_<sectionname> must be gob-encodeable (gob-encoding/decoding is used for deep-copying of the struct values).

  • v1.0.0

    May 24, 2016

    ๐ŸŽ‰ initial release