config icon indicating copy to clipboard operation
config copied to clipboard

JSON or YAML configuration wrapper with convenient access methods.

Results 5 config issues
Sort by recently updated
recently updated
newest added

This PR contains a new implementation of the Extend function. It makes it possible for lists to be extended as well. If this PR is merged it will somewhat change...

When extending a config with a second Config object which contains lists, all elements in lists in the second object, except the first element, are lost. I have narrowed it...

Hi, What about such a YAML config: part1: - level1: - level2: -level3: key1: value1 key2: value2 How to get deeper nested lists? `cfg.List("part1.0.0.)` does not seem to work.

The Documentation ommits how to load the yaml/json file into a string, Here's how I did it: ``` go file, readErr := ioutil.ReadFile("config.yaml") if readErr != nil { fmt.Println("Could not...