Skip to content

v2.0.0

Compare
Choose a tag to compare
@strobus strobus released this 11 Feb 16:52
· 4 commits to v2 since this release

This release establishes a new module version: github.com/nrfta/go-config/v2, which will continue development in the v2 branch of this repository.

The v2 is to match the dependency upgrade to github.com/gobuffalo/packr/v2.

Projects depending on github.com/nrfta/go-config/v2 should upgrade their dependency on this module as well as upgrade to github.com/gobuffalo/packr/v2.

See the README for information on code changes in consuming projects. The main change is the packr/v2's constructor function has changed to New, which takes 2 arguments:

// in consuming projects config.go
func init() {
  box := packr.New("config", ".")
  err := config.Load(box, &Config) 
  // etc.
}

Contributors

@strobus