https://github.com/dutchcoders/merger
Golang merge objects
https://github.com/dutchcoders/merger
Last synced: 5 months ago
JSON representation
Golang merge objects
- Host: GitHub
- URL: https://github.com/dutchcoders/merger
- Owner: dutchcoders
- Created: 2016-09-14T08:08:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-14T12:33:52.000Z (almost 10 years ago)
- Last Synced: 2025-10-27T04:37:45.352Z (9 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Merger
Merge source object into destination. This is especially useful when converting from for example database models to json format.
```
if err := merger.Merge(&dest, src); err != nil {
panic(err)
}
```
## Todo's
* implement Merger interface, for custom merging strategies
* improve error handling
* add error strategy (continue, fail)
## Contributions
Contributions are welcome.
## Creators
**Remco Verhoef**
-
-
## Copyright and license
Code and documentation copyright 2011-2014 Remco Verhoef.
Code released under [the MIT license](LICENSE).