net.IP.IsPrivate
standard libraryThe 8012th most-called standard-library method by production calls. Called 90 times across 56 modules; 76 of those run outside tests and generated code.
No change in production calls since 2026-W39.
- prod calls
- 76
- non-test, non-generated
- all calls
- 90
- total callsites
- modules
- 56
- distinct callers
- in loop
- 30%
- of prod calls
- in tests
- 16%
- 14 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 IP.IsPrivate from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 11 14%
- Gitea 2 3%
- HashiCorp 2 3%
- Istio 2 3%
- Kyverno 2 3%
where it's called
Callsites in the wild
12 representative callsites of 90, prioritizing in-loop and non-test usage. We link to source, never display it.
-
miekg/dns @v0.6.117
cmd/atomdns/internal/iface/iface.go:33
in loop - in loop
-
gitea.dev @v1.27.3
modules/hostmatcher/hostmatcher.go:157
in loop - in loop
- in loop
- in loop
-
ipfs/kubo @v0.43.1
in loop -
kataras/iris/v12 @v12.2.11
in loop -
livekit/livekit @v1.13.7
in loop -
ory/x @v0.0.729
in loop - in loop
-
txthinking/brook @v0.0.0-20260925045830-5ad0c40c3614
in loop
top callers
The modules that reach for it
The modules that call IP.IsPrivate most in this snapshot.
- github.com/infiniflow/ragflow67%
- github.com/syncthing/syncthing56%
- github.com/authelia/authelia/v444%
- github.com/ethereum/go-ethereum33%
- github.com/kubernetes/kops33%
siblings
More from net
The other most-called members in this package. See all →