Skip to content

Tags: adrianduke/configr

Tags

v0.6.0

Toggle v0.6.0's commit message
Merge branch 'develop'

* develop:
  Fixup README
  Update README
  Drop support for Go < 1.7
  Add go.mod
  Add feature test for registering from structs
  Add example for registering and unmarshalling from/to structs
  Add registering from structs
  Add method name to tests
  Treats default values as lowest priority source. Supports Unmarshaling defaults and fetching defaults from subtrees when getting parent node
  Initial unmarshalling of values into structures. Currently doesn't support default values

v0.5.1

Toggle v0.5.1's commit message
Merge branch 'develop'

* develop:
  Ensure adapters always satisfy the interfaces they are built to adapt for
  Ignore examples dir for coverage report

v0.5.0

Toggle v0.5.0's commit message
Merge branch 'develop'

* develop:
  Updated readme
  Moved env var source into the sources dir
  Ditch stale EnvVar properties
  Add go 1.7 to travis
  Updated readme for v0.5.0
  Wrap validation errors, more verbose for user
  Flatten source interface back to one method, ditch KeysToUnmarshal call

v0.4.0

Toggle v0.4.0's commit message
Merge branch 'develop'

* develop:
  Ditch 'latest' and 'release' travis refs, appear to still point at go1.4.1
  Testing fix for travis, doesn't appear to grab test dependencies for 'latest' tag
  Go1.3 doesn't support os.Unsetenv, better off leaving the environment poluted with harmless values than write another shim complicating the example
  Add a shim for os.LookupEnv for go versions < 1.5
  Updated readme
  Added environmental variable feature test
  Added environmental variables example
  Added environmental variables source, can work with or without a prefix
  Added in KeysToUnmarshal call into Parse(), tests and fixed mock expectations for existing tests.
  Added KeysToUnmarshal to Source interface, wired in a key splitting function that it takes. Updated mocks and Source implementations.

v0.3.0

Toggle v0.3.0's commit message
Use minor version bump, API breaking changes will be possible until v…

…1.0.0

v0.2.0

Toggle v0.2.0's commit message
Merge branch 'develop'

* develop:
  Update readmes
  Add working inj example to examples
  Update readme with inj example
  Satisfy inj DatasourceReader with wrapper around Get
  Documented and added additional Encoder adapater

v0.1.1

Toggle v0.1.1's commit message
Merge branch 'develop'

* develop:
  Ditch globals filesource, no need for it
  Utilise multi statement var decleration
  Added travis, coverage and godoc shields

v0.1.0

Toggle v0.1.0's commit message
Merge branch 'develop'

* develop:
  Add travis yml
  Added validator example to simple-json example
  Add simple runable json example
  Update README with example and todo
  Added case sensitivity method
  Formatting
  Added features and goal explanations to README
  Renaming f->globalFileSource
  Add setters for key path delimeter and description wrapper
  Update some comments
  Rename spree, registeredValues->registeredKeys, requiredValues->requiredKeys, values->cache
  Rename Parser interface to Config
  Rewrite import path to fix feature tests
  Init source commit