net.JoinHostPort
standard libraryThe 351st most-called standard-library function by production calls. Called 3,038 times across 314 modules; 2,469 of those run outside tests and generated code.
- prod calls
- 2,469
- non-test, non-generated
- all calls
- 3,038
- total callsites
- modules
- 314
- distinct callers
- in loop
- 22%
- of prod calls
- in tests
- 18%
- 552 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into JoinHostPort from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 433 18%
- Istio 82 3%
- Tailscale 78 3%
- Prometheus 64 3%
- NATS 55 2%
where it's called
Callsites in the wild
12 representative callsites of 3,038, prioritizing in-loop and non-test usage. We link to source, never display it.
-
caddyserver/certmagic @v0.25.4
in loop - in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
-
docker/cli @v29.7.1+incompatible
in loop -
encr.dev @v1.57.13
cli/daemon/run/runtime_config2.go:327
in loop -
etcd-io/etcd @v2.3.8+incompatible
in loop -
CodisLabs/codis @v0.0.0-20181104082235-de1ad026e329
in loop -
DNSCrypt/dnscrypt-proxy @v0.0.0-20260801091651-c3ba78fac8a3
in loop - in loop
-
IBM/sarama @v1.60.1
in loop
top callers
The modules that reach for it
The modules that call JoinHostPort most in this snapshot.
- github.com/kubernetes/kubernetes1836%
- k8s.io/kubernetes1435%
- tailscale.com1043%
- github.com/sagernet/tailscale1033%
- github.com/tailscale/tailscale1033%
siblings
More from net
The other most-called functions in this package. See all →