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

proxy.golang.org : github.com/segmentio/mergo : v0.3.3

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 - Documentation - Download - JSON
purl: pkg:golang/github.com/segmentio/[email protected]
Published:
Indexed:

    Loading...
    Readme
    Loading...