github.com/spf13/pflag
Go Modulesvv1.0.10Go module: github.com/spf13/pflag
Overview
github.com/spf13/pflag is an Go Modules package that go module: github.com/spf13/pflag. The latest version is v1.0.10.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/spf13/pflag and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your Go Modules stack.
Pros
- Zero runtime dependencies — minimal footprint.
Cons
- No bundled TypeScript types (may require a separate @types package).
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of github.com/spf13/pflag.
Used by
Popular packages that depend on github.com/spf13/pflag.
Go module: github.com/spf13/cobra
Go module: github.com/minio/minio-go/v7
Go module: github.com/vektra/mockery/v2
Go module: github.com/daixiang0/gci
Go module: github.com/golangci/golangci-lint/v2
Go module: github.com/nakabonne/nestif
Go module: github.com/spf13/viper
Go module: github.com/tomarrell/wrapcheck/v2
Frequently installed together
Go module: github.com/stretchr/testify
Go module: github.com/pmezard/go-difflib
Go module: github.com/davecgh/go-spew
Go module: "gopkg.in/yaml.v3"
Go module: go.yaml.in/yaml/v3
Go module: github.com/inconshreveable/mousetrap
Go module: github.com/pelletier/go-toml/v2
Go module: golang.org/x/text
Go module: github.com/fsnotify/fsnotify
Go module: golang.org/x/sync
Go module: golang.org/x/sys
Go module: github.com/spf13/afero
Version history
| Version | Published | License |
|---|---|---|
| v1.0.10latest | 10 months ago | — |
| v1.0.9 | 10 months ago | — |
| v1.0.8 | 10 months ago | — |
| v1.0.7 | 1 year ago | — |
| v1.0.6 | 1 year ago | — |
| v1.0.5 | 6 years ago | — |
| v1.0.5-rc1 | 6 years ago | — |
| v1.0.4 | 6 years ago | — |
| v1.0.3 | 7 years ago | — |
| v1.0.2 | 8 years ago | — |
| v1.0.1 | 8 years ago | — |
| v1.0.0 | 9 years ago | — |
Frequently asked questions
How do I install github.com/spf13/pflag?
Run `go get github.com/spf13/pflag` to add github.com/spf13/pflag to your Go Modules project.
What license is github.com/spf13/pflag released under?
No license was detected in github.com/spf13/pflag's metadata; review the repository before use.
How popular is github.com/spf13/pflag?
github.com/spf13/pflag has approximately 0 downloads per week and 3 known dependent packages.