Tags: adrianduke/configr
Tags
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
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
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.
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