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

Top 9.0% on proxy.golang.org

proxy.golang.org : github.com/protosam/opts

Package opts provides a genericised means to pass options to functions. opts uses custom type names to fill struct fields based on the value of a tag called optname. So if an option of type WithUsername is passed and the struct has a field called Username tagged optname:"WithUsername", this will populate Username with the value of WithUsername.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/protosam/opts
Keywords: go , golang , library
License: Apache-2.0
Latest release: over 3 years ago
First release: over 3 years ago
Namespace: github.com/protosam
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago

    Loading...
    Readme
    Loading...