net/netip.Addr.Compare (method)
4 uses
net/netip (current package)
netip.go#L419: func (ip Addr) Compare(ip2 Addr) int {
netip.go#L456: func (ip Addr) Less(ip2 Addr) bool { return ip.Compare(ip2) == -1 }
netip.go#L1144: if c := p.Addr().Compare(p2.Addr()); c != 0 {
netip.go#L1319: return p.Addr().Compare(p2.Addr())
 |
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. |