net/url.URL.Port
standard libraryThe 1368th most-called standard-library method by production calls. Called 589 times across 181 modules; 450 of those run outside tests and generated code.
- prod calls
- 450
- non-test, non-generated
- all calls
- 589
- total callsites
- modules
- 181
- distinct callers
- in loop
- 14%
- of prod calls
- in tests
- 24%
- 139 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 URL.Port from notable Go projects. Open one on the map to see what else it hammers.
- InfluxDB 31 7%
- Docker 19 4%
- Kubernetes 18 4%
- Tailscale 14 3%
- Grafana 12 3%
where it's called
Callsites in the wild
12 representative callsites of 589, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
-
ory/hydra @v1.11.10
in loop -
passteque/gluetun @v0.0.0-20260805014130-9b8939eb5b6f
in loop - in loop
top callers
The modules that reach for it
The modules that call URL.Port most in this snapshot.
- github.com/influxdata/telegraf458%
- github.com/pinchtab/pinchtab173%
- github.com/sagernet/tailscale163%
- github.com/tailscale/tailscale163%
- tailscale.com163%
siblings
More from net/url
The other most-called members in this package. See all →