flag.FlagSet.Bool
standard libraryThe 1287th most-called standard-library method by production calls. Called 564 times across 58 modules; 479 of those run outside tests and generated code.
- prod calls
- 479
- non-test, non-generated
- all calls
- 564
- total callsites
- modules
- 58
- distinct callers
- in loop
- <1%
- of prod calls
- in tests
- 15%
- 85 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.Bool from notable Go projects. Open one on the map to see what else it hammers.
- Jaeger 41 9%
- Tailscale 11 2%
- Kubernetes 8 2%
- CockroachDB 5 1%
- InfluxDB 3 <1%
where it's called
Callsites in the wild
12 representative callsites of 564, prioritizing in-loop and non-test usage. We link to source, never display it.
-
u-root/u-root @v0.16.0
in loop -
u-root/u-root @v0.16.0
in loop -
u-root/u-root @v0.16.0
in loop - in loop test
- in loop test
- in loop test
-
urfave/cli/v2 @v2.27.7
in loop test -
google.golang.org/protobuf @v1.36.11
compiler/protogen/protogen_test.go:46
in loop test - in loop test
- in loop test
- in loop test
- in loop test
top callers
The modules that reach for it
The modules that call FlagSet.Bool most in this snapshot.
- github.com/seaweedfs/seaweedfs13925%
- github.com/jaegertracing/jaeger417%
- github.com/goplus/xgo305%
- github.com/benbjohnson/litestream234%
- github.com/esengine/DeepSeek-Reasonix234%
siblings
More from flag
The other most-called members in this package. See all →