flag.Bool
standard libraryThe 427th most-called standard-library function by production calls. Called 2,402 times across 353 modules; 1,927 of those run outside tests and generated code.
0% in production calls vs 2026-W37 (1,921 → 1,927)
- prod calls
- 1,927
- non-test, non-generated
- all calls
- 2,402
- total callsites
- modules
- 353
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 20%
- 475 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 Bool from notable Go projects. Open one on the map to see what else it hammers.
- VictoriaMetrics 227 12%
- Go (golang.org/x) 82 4%
- Tailscale 67 3%
- Kubernetes 48 2%
- gRPC 33 2%
where it's called
Callsites in the wild
12 representative callsites of 2,402, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop test
- in loop test
- in loop test
- in loop test
- in loop test
- in loop test
-
-
-
go/profiler @v0.6.0
busybench/busybench.go:34
-
cockroachdb/cockroach @v19.2.12+incompatible
-
miekg/dns @v0.6.114
cmd/parse/parse.go:17
-
top callers
The modules that reach for it
The modules that call Bool most in this snapshot.
- github.com/u-root/u-root1858%
- github.com/VictoriaMetrics/VictoriaMetrics1145%
- github.com/VictoriaMetrics/VictoriaLogs1135%
- github.com/tailscale/tailscale1014%
- tailscale.com1014%
siblings
More from flag
The other most-called functions in this package. See all →