net/netip.Addr.IsValid
standard libraryThe 773rd most-called standard-library method by production calls. Called 1,082 times across 67 modules; 967 of those run outside tests and generated code.
2% in production calls vs 2026-W48 (946 → 967)
- prod calls
- 967
- non-test, non-generated
- all calls
- 1,082
- total callsites
- modules
- 67
- distinct callers
- in loop
- 25%
- of prod calls
- in tests
- 10%
- 112 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 method98%A method on a value whose type is known exactly.
- Embedded method2%Reached through an embedded type.
who calls this
Notable callers
Production calls into Addr.IsValid from notable Go projects. Open one on the map to see what else it hammers.
- Cilium 111 11%
- Tailscale 109 11%
- Istio 27 3%
- Docker 25 3%
- Kubernetes 12 1%
where it's called
Callsites in the wild
12 representative callsites of 1,082, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
miekg/dns @v0.6.152
svcb/svcb.go:288
in loop - in loop
- in loop
-
XTLS/Xray-core @v1.260327.0
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
-
passteque/gluetun @v0.0.0-20261120162833-eb3c7ec79d94
in loop
top callers
The modules that reach for it
The modules that call Addr.IsValid most in this snapshot.
- tailscale.com14513%
- github.com/netbirdio/netbird14313%
- github.com/tailscale/tailscale12311%
- github.com/cilium/cilium12111%
- github.com/sagernet/tailscale848%
siblings
More from net/netip
The other most-called members in this package. See all →