net/netip.Addr.String (method, view implemented interface methods)
11 uses
net/netip (current package)
netip.go#L783: func (ip Addr) String() string {
netip.go#L947: return ip.String()
netip.go#L1549: return p.ip.String() + "/" + itoa.Itoa(p.Bits())
net
cgo_unix.go#L250: return nil, &DNSError{Err: "invalid address " + ip.String(), Name: addr}
hosts.go#L23: return ip.String()
ip.go#L306: return netip.AddrFrom4([4]byte(p4)).String()
ip.go#L308: return netip.AddrFrom16([16]byte(ip)).String()
ipsock_posix.go#L242: return syscall.SockaddrInet4{}, &AddrError{Err: "non-IPv4 address", Addr: addr.String()}
ipsock_posix.go#L260: return syscall.SockaddrInet6{}, &AddrError{Err: "non-IPv6 address", Addr: addr.String()}
udpsock_posix.go#L161: return 0, &AddrError{Err: "invalid address family", Addr: addr.Addr().String()}
udpsock_posix.go#L201: return 0, 0, &AddrError{Err: "invalid address family", Addr: addr.Addr().String()}
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |