math.Min
standard libraryThe 700th most-called standard-library function by production calls. Called 1,088 times across 186 modules; 999 of those run outside tests and generated code.
30% in production calls vs 2026-W37 (768 → 999)
- prod calls
- 999
- non-test, non-generated
- all calls
- 1,088
- total callsites
- modules
- 186
- distinct callers
- in loop
- 38%
- of prod calls
- in tests
- 8%
- 89 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 Min from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 23 2%
- Kubernetes 16 2%
- TiDB 9 <1%
- InfluxDB 8 <1%
- Gitea 7 <1%
where it's called
Callsites in the wild
12 representative callsites of 1,088, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
readeck/go-readability/v2 @v2.1.2
parser.go:954
in loop - in loop
- in loop
-
IBM/sarama @v1.60.2
in loop -
Masterminds/sprig/v3 @v3.3.0
in loop -
Mrs4s/MiraiGo @v0.0.0-20240226124653-54bdd873e3fe
in loop - in loop
-
TheAlgorithms/Go @v0.0.3-alpha
in loop -
alecthomas/chroma/v2 @v2.27.0
in loop -
blevesearch/bleve @v1.0.14
in loop
top callers
The modules that reach for it
The modules that call Min most in this snapshot.
- github.com/terrastruct/d231529%
- gonum.org/v1/gonum13813%
- github.com/infiniflow/ragflow515%
- gonum.org/v1/plot272%
- github.com/disintegration/imaging151%
siblings
More from math
The other most-called functions in this package. See all →