https://github.com/shadow53/go-merge-config
https://github.com/shadow53/go-merge-config
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/shadow53/go-merge-config
- Owner: Shadow53
- License: mit
- Created: 2021-03-12T05:04:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-12T05:04:31.000Z (over 5 years ago)
- Last Synced: 2025-02-15T01:23:03.362Z (over 1 year ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# merge-config
A small library to merge multiple unmarshalled `map[string]interface{}`
variables together into one `map[string]interface{}` that can then be parsed.
The library assumes that the `map[string]interface{}` was created by a call to
an `Unmarshal` method or a previous call to this library's `Merge` function.
That is, it assumes all maps are of type `map[string]interface{}`, all slices
are `[]interface{}`, and all other types present are not pointer types.