All Versions
7
Latest Version
Avg Release Cycle
162 days
Latest Release
2245 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.