net.JoinHostPort
standard libraryThe 347th most-called standard-library function by production calls. Called 3,118 times across 317 modules; 2,513 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (2,495 → 2,513)
- prod calls
- 2,513
- non-test, non-generated
- all calls
- 3,118
- total callsites
- modules
- 317
- distinct callers
- in loop
- 21%
- of prod calls
- in tests
- 19%
- 588 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 436 17%
- Istio 84 3%
- Tailscale 78 3%
- Prometheus 65 3%
- NATS 55 2%
where it's called
Callsites in the wild
12 representative callsites of 3,118, 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.8.1+incompatible
in loop -
encr.dev @v1.58.6
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-20260907210843-47ce24df6e86
in loop - in loop
-
IBM/sarama @v1.60.2
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/kubernetes1555%
- tailscale.com1043%
- github.com/tailscale/tailscale1033%
- github.com/nats-io/nats-server/v2873%
siblings
More from net
The other most-called functions in this package. See all →