func net.JoinHostPort
19 uses
net (current package)
dnsconfig_unix.go#L57: conf.servers = append(conf.servers, JoinHostPort(f[1], "53"))
ipsock.go#L236: func JoinHostPort(host, port string) string {
tcpsock.go#L50: return JoinHostPort(ip+"%"+a.Zone, strconv.Itoa(a.Port))
tcpsock.go#L52: return JoinHostPort(ip, strconv.Itoa(a.Port))
udpsock.go#L50: return JoinHostPort(ip+"%"+a.Zone, strconv.Itoa(a.Port))
udpsock.go#L52: return JoinHostPort(ip, strconv.Itoa(a.Port))
net/http
clientconn.go#L157: targetAddr: net.JoinHostPort(host, port),
h2_bundle.go#L7876: return net.JoinHostPort(host, port)
socks_bundle.go#L255: return net.JoinHostPort(a.Name, port)
socks_bundle.go#L257: return net.JoinHostPort(a.IP.String(), port)
transport.go#L3038: return net.JoinHostPort(idnaASCIIFromURL(url), port)
github.com/jackc/pgx/v5/pgconn
config.go#L223: address = net.JoinHostPort(host, strconv.Itoa(int(port)))
golang.org/x/net/http/httpguts
httplex.go#L346: return net.JoinHostPort(host, port), nil
golang.org/x/net/http2
transport_common.go#L266: return net.JoinHostPort(host, port)
google.golang.org/grpc/internal/resolver/delegatingresolver
delegatingresolver.go#L238: return net.JoinHostPort(target, defaultPort), nil
delegatingresolver.go#L252: return net.JoinHostPort(host, port), nil
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L102: authorityWithPort := net.JoinHostPort(host, port)
vendor/golang.org/x/net/http/httpguts
httplex.go#L346: return net.JoinHostPort(host, port), nil
vendor/golang.org/x/net/http/httpproxy
proxy.go#L292: return net.JoinHostPort(addr, port)