flag.BoolVar
standard libraryThe 774th most-called standard-library function by production calls. Called 995 times across 186 modules; 879 of those run outside tests and generated code.
- prod calls
- 879
- non-test, non-generated
- all calls
- 995
- total callsites
- modules
- 186
- distinct callers
- in loop
- <1%
- of prod calls
- in tests
- 11%
- 110 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into BoolVar from notable Go projects. Open one on the map to see what else it hammers.
- Istio 56 6%
- Kubernetes 22 3%
- containerd 21 2%
- Docker 15 2%
- Caddy 14 2%
where it's called
Callsites in the wild
12 representative callsites of 995, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop test
-
-
cockroachdb/cockroach @v19.2.12+incompatible
-
miekg/dns @v0.6.90
cmd/atomdns/atom/run.go:31
-
-
-
-
encr.dev @v1.57.13
pkg/golden/golden.go:69
-
-
filippo.io/age @v1.3.1
cmd/age-inspect/inspect.go:39
top callers
The modules that reach for it
The modules that call BoolVar most in this snapshot.
- github.com/github/gh-ost414%
- github.com/istio/istio293%
- istio.io/istio293%
- github.com/probelabs/goreplay283%
- github.com/u-root/u-root283%
siblings
More from flag
The other most-called functions in this package. See all →