Ecosyste.ms: Packages

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

Top 4.9% on proxy.golang.org
Top 5.8% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org
Top 4.6% forks on proxy.golang.org

proxy.golang.org : github.com/globusdigital/deep-copy

deep-copy is a tool for generating DeepCopy() functions for a given type. Given a package directory, and a type name that appears in that package, a DeepCopy method will be generated, to create a deep copy of the type value. Members of the type will also be copied deeply, recursively. If a member T of the type has a method "DeepCopy() [*]T", that method will be reused. Multiple types can be specified for the given package, by adding more --type parameters. To specify a pointer receiver for the method, an optional --pointer-receiver boolean flag can be specified. The flag will also govern whether the return type is a pointer as well. It might also be desirable to skip deeply copying certain fields, slice members, or map members. To achieve that, selectors can be specified in the optional comma-separated --skip flag. Multiple --skip flags can be specified, to match the number of --type flags.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/globusdigital/deep-copy
Keywords: code-generator, generator, go, golang
License: BSD-3-Clause
Latest release: about 3 years ago
First release: about 4 years ago
Namespace: github.com/globusdigital
Dependent packages: 3
Dependent repositories: 1
Stars: 121 on GitHub
Forks: 25 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago

    Loading...
    Readme
    Loading...