(s string)
| 443 | } |
| 444 | |
| 445 | func canonicalAddress(s string) string { |
| 446 | return net.JoinHostPort(splitHostPort(s)) |
| 447 | } |
| 448 | |
| 449 | func splitHostPort(s string) (host string, port string) { |
| 450 | host, port, _ = net.SplitHostPort(s) |
no test coverage detected