net/netip.Addr.Compare (method)
5 uses
net/netip (current package)
netip.go#L418: func (ip Addr) Compare(ip2 Addr) int {
netip.go#L455: func (ip Addr) Less(ip2 Addr) bool { return ip.Compare(ip2) == -1 }
netip.go#L1157: if c := p.Addr().Compare(p2.Addr()); c != 0 {
netip.go#L1341: if c := p.Masked().Addr().Compare(p2.Masked().Addr()); c != 0 {
netip.go#L1349: return p.Addr().Compare(p2.Addr())
 |
The pages are generated with Golds v0.8.4. (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. |