All Versions
Latest Version
Avg Release Cycle
162 days
Latest Release
1791 days ago

Changelog History

  • v1.6.0 Changes

    March 28, 2019

    ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Support time.Duration thanks to @sedalu
  • v1.5.0 Changes

    February 05, 2019

    ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Support slices
    • ๐Ÿ‘Œ Improve error messages

    โœ… Test

    • โž• Add tests to increase code coverage up to 94%
  • v1.4.0 Changes

    May 08, 2018

    ๐Ÿ‘ Allow anonymous structs.

  • v1.3.0 Changes

    March 08, 2018

    ๐Ÿ‘ Allow other flags without exit

  • v1.2.0 Changes

    May 10, 2017

    โž• Add ci and fix tag convention issues #4 and #5

  • v1.1.0 Changes

    May 10, 2017

    ๐Ÿ‘ Now goconfig support environment variables in this precedence order:

    default < config file < environment vars < cli args

    For example, if my config struct is:

    type Config struct { MyDatabase MongoConfig}type MongoConfig struct { Uri string `Mongo uri in mongodb://... format`Timeout int `Socket timeout the firs time`}

    ๐Ÿ’ป The environment variable to change Uri is: MYDATABASE_URI="mongodb://...." and that value can be rewrited by equivalent command line argument: --mydatabase.uri mongodb://blahblah...

  • v1.0.0 Changes

    July 27, 2016

    Functionally closed version.