An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.6% on proxy.golang.org
Top 8.9% dependent packages on proxy.golang.org
Top 1.7% forks on proxy.golang.org

proxy.golang.org : github.com/darccio/mergo

Package mergo merges same-type structs and maps by setting default values in zero-value fields. Mergo won't merge unexported (private) fields but will do recursively any exported one. It also won't merge structs inside maps (because they are not addressable using Go reflection). From my own work-in-progress project:

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/darccio/mergo
Keywords: go , golang , hacktoberfest , mapping , merge , structures
License: BSD-3-Clause
Latest release: 6 months ago
First release: over 7 years ago
Namespace: github.com/darccio
Dependent packages: 4
Stars: 3,056 on GitHub
Forks: 281 on GitHub
Total Commits: 264
Committers: 69
Average commits per author: 3.826
Development Distribution Score (DDS): 0.667
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/darccio, https://tidelift.com/funding/github/go/dario.cat/mergo, https://thanks.dev/gh/darccio, https://liberapay.com/dario
Last synced: 1 day ago

    Loading...
    Readme
    Loading...