Ecosyste.ms: Packages

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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/djboris9/merger

Package merger can merge different Go types together. This can be useful for: Let A be the first arbitrary value and B be the second arbitrary value with precedence. boolean, numeric and string types will be overwritten by the argument with precedence (B). slice and array types will be concatenated (A ∥ B). struct and map types will be merged together giving a union of all fields, where the values of them are merged too (A ∪ B) Merging boolean, numeric, string types (overwrite): Merging map, struct types (union): Merging slice, array types (concat): Merging embedded types:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/djboris9/merger
Keywords: data-structures, golang, golang-library, golang-package, map, merge, slice, struct
License: MIT
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/djboris9
Stars: 3 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago

    Loading...
    Readme
    Loading...