flag.Bool
standard libraryThe 445th most-called standard-library function by production calls. Called 2,405 times across 354 modules; 1,929 of those run outside tests and generated code.
0% in production calls vs 2026-W39 (1,927 → 1,929)
- prod calls
- 1,929
- non-test, non-generated
- all calls
- 2,405
- total callsites
- modules
- 354
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 20%
- 476 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 228 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,405, 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.7.0
busybench/busybench.go:34
-
cockroachdb/cockroach @v19.2.12+incompatible
-
miekg/dns @v0.6.117
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/VictoriaMetrics1155%
- github.com/VictoriaMetrics/VictoriaLogs1135%
- github.com/tailscale/tailscale1014%
- tailscale.com1014%
siblings
More from flag
The other most-called functions in this package. See all →