github.com/spf13/pflag.FlagSet.Parse
third-partyThe 2227th most-called third-party method by production calls. Called 795 times across 57 modules; 273 of those run outside tests and generated code.
- prod calls
- 273
- non-test, non-generated
- all calls
- 795
- total callsites
- modules
- 57
- distinct callers
- in loop
- <1%
- of prod calls
- in tests
- 66%
- 522 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method96%A method on a value whose type is known exactly.
- Embedded method4%Reached through an embedded type.
who calls this
Notable callers
Production calls into FlagSet.Parse from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 20 7%
- Cilium 3 1%
- GitHub CLI 1 <1%
- Grafana 1 <1%
- Velero 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 795, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop test
- in loop test
- in loop test
- in loop test
- in loop test
- in loop test
- in loop test
-
spf13/pflag @v1.0.10
in loop test - in loop test
-
go.k6.io/k6 @v1.8.0
internal/cmd/config_test.go:70
in loop test
top callers
The modules that reach for it
The modules that call FlagSet.Parse most in this snapshot.
- github.com/spf13/pflag14218%
- github.com/vitessio/vitess12215%
- vitess.io/vitess12215%
- github.com/velero-io/velero8210%
- github.com/vmware-tanzu/velero8210%
siblings
More from github.com/spf13/pflag
The other most-called members in this package. See all →