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

Top 2.8% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/fredbi/gflag

Package gflag exposes generic types to deal with flags. Supported types are: all primitive golang types (e.g. int, uint, float64, complex128 ...) as well as a few commonly used types, which supported by pflag: time.Duration, net.IP, net.IPNet, net.IPMask, plus time.Time. The new types can be readily used as extensions to the github.com/spf13/flag package. All types currently provided by pflag can be obtained from gflag using generic types. gflag provides a more consistent interface across types, and can build single-valued flags, slice of flags as well as maps of flags for all underlying types. Notice that the []byte type is considered single-valued and that we don't support []uint8 as a slice of unsigned integer values (because []byte and []uint8 are aliases). There are a few attention points, though. Take a look at the examples to deal with these. Note to users of the github.com/spf13/viper package: Consuming flags from viper remain still possible. All pflag types currently supported by viper will work seamlessly with their gflag counterpart. Other types will be converted to a their string representation by viper.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/fredbi/gflag
License: Apache-2.0
Latest release: over 1 year ago
First release: over 2 years ago
Namespace: github.com/fredbi
Dependent packages: 5
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 18 days ago

github.com/fredbi/go-experiments/transactional-roundtrip v0.0.0-20231124073328-132c30dd6be2
Personal musings in golang
5 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/fredbi/go-cli v0.4.0
A few utilities to build CLI on top of cobra and viper
14 versions - Latest release: over 1 year ago - 5 dependent packages - 2 dependent repositories - 0 stars on GitHub
Top 9.8% on proxy.golang.org
github.com/fredbi/go-cli/examples v0.0.0-20231117112901-5cc58fd912a7
A few utilities to build CLI on top of cobra and viper
1 version - Latest release: over 1 year ago - 1 stars on GitHub
github.com/fredbi/demo-api-numeral v0.0.1
1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/fredbi/go-api-skeleton v0.0.1
Template project
1 version - Latest release: over 1 year ago - 0 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.