net/netip.AddrPort.IsValid
standard libraryThe 2113th most-called standard-library method by production calls. Called 343 times across 29 modules; 292 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (290 → 292)
- prod calls
- 292
- non-test, non-generated
- all calls
- 343
- total callsites
- modules
- 29
- distinct callers
- in loop
- 11%
- of prod calls
- in tests
- 15%
- 51 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 17%
- Go (golang.org/x) 3 1%
- HashiCorp 2 <1%
- Istio 2 <1%
where it's called
Callsites in the wild
12 representative callsites of 343, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
passteque/gluetun @v0.0.0-20260915122333-e2e4a0658aad
in loop - in loop
- in loop
-
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop -
slackhq/nebula @v1.11.1
in loop - in loop
-
tailscale.com @v1.102.4
net/netcheck/standalone.go:97
in loop - in loop
- in loop
- in loop
-
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop
top callers
The modules that reach for it
The modules that call AddrPort.IsValid most in this snapshot.
- tailscale.com7823%
- github.com/tailscale/tailscale6419%
- github.com/sagernet/tailscale5315%
- github.com/quic-go/quic-go185%
- github.com/SagerNet/sing-box175%
siblings
More from net/netip
The other most-called members in this package. See all →