flag.FlagSet.Set
standard libraryThe 6629th most-called standard-library method by production calls. Called 344 times across 37 modules; 89 of those run outside tests and generated code.
- prod calls
- 89
- non-test, non-generated
- all calls
- 344
- total callsites
- modules
- 37
- distinct callers
- in loop
- 30%
- of prod calls
- in tests
- 74%
- 255 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 method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into FlagSet.Set from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 17 19%
- containerd 10 11%
- Istio 6 7%
- KEDA 6 7%
- etcd 2 2%
where it's called
Callsites in the wild
12 representative callsites of 344, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
urfave/cli/v2 @v2.27.7
in loop - in loop
- in loop
-
urfave/cli/v2 @v2.27.7
in loop - in loop
- in loop
-
urfave/cli/v2 @v2.27.7
in loop - in loop
- in loop
-
urfave/cli/v2 @v2.27.7
in loop
top callers
The modules that reach for it
The modules that call FlagSet.Set most in this snapshot.
- github.com/cadence-workflow/cadence8424%
- github.com/uber/cadence8424%
- k8s.io/klog/v2298%
- github.com/kubernetes/kubernetes175%
- github.com/urfave/cli/v2154%
siblings
More from flag
The other most-called members in this package. See all →