net/netip.AddrPort.IsValid
standard libraryThe 2110th most-called standard-library method by production calls. Called 365 times across 30 modules; 313 of those run outside tests and generated code.
0% in production calls vs 2026-W48 (314 → 313)
- prod calls
- 313
- non-test, non-generated
- all calls
- 365
- total callsites
- modules
- 30
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 14%
- 52 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 method99%A method on a value whose type is known exactly.
- Embedded method<1%Reached through an embedded type.
who calls this
Notable callers
Production calls into AddrPort.IsValid from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 50 16%
- Go (golang.org/x) 5 2%
- HashiCorp 2 <1%
- Istio 2 <1%
where it's called
Callsites in the wild
12 representative callsites of 365, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
passteque/gluetun @v0.0.0-20261120162833-eb3c7ec79d94
in loop - in loop
- in loop
-
sagernet/tailscale @v1.106.1-sing-box-1.15-mod.1
in loop -
slackhq/nebula @v1.12.0
in loop - in loop
-
tailscale.com @v1.106.1
net/netcheck/standalone.go:97
in loop - in loop
- in loop
- in loop
-
sagernet/tailscale @v1.106.1-sing-box-1.15-mod.1
in loop
top callers
The modules that reach for it
The modules that call AddrPort.IsValid most in this snapshot.
- tailscale.com7821%
- github.com/tailscale/tailscale6418%
- github.com/sagernet/tailscale5214%
- github.com/quic-go/quic-go236%
- github.com/apernet/quic-go195%
siblings
More from net/netip
The other most-called members in this package. See all →