Language

Package: go-github-com-imdario-mergo @ 0.3.10

Synopsis

Helper to merge structs and maps in Golang

Description

Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.

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

Home page
https://github.com/imdario/mergo/
Location
gnu/packages/golang.scm (line: 4897, column: 2)
License

Lint warnings

LinterMessageLocation
No lint warnings