Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Maps ¶
func Maps(dest, src interface{}) (interface{}, error)
Maps returns a new map that is the result of merging the two provided inputs, which must both be maps. Returns an error if either of the inputs are not maps. If the types of the input values differ, an error is returned. Merging is performed by creating a new map, setting its contents to be "dest", and then setting the key/value pairs in "src" on the new map (unless the value is a map, in which case a merge is performed recursively).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.