All Versions
7
Latest Version
Avg Release Cycle
162 days
Latest Release
709 days ago

Changelog History

  • v1.6.0

    March 28, 2019

    ๐Ÿ”‹ Features

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

    February 05, 2019

    ๐Ÿ”‹ Features

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

    โœ… Test

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

    May 08, 2018

    ๐Ÿ‘ Allow anonymous structs.

  • v1.3.0

    March 08, 2018

    ๐Ÿ‘ Allow other flags without exit

  • v1.2.0

    May 10, 2017

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

  • v1.1.0

    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

    July 27, 2016

    Functionally closed version.