net/netip.Prefix.Addr (method)
7 uses
net/netip (current package)
netip.go#L1315: func (p Prefix) Addr() Addr { return p.ip }
netip.go#L1341: if c := p.Masked().Addr().Compare(p2.Masked().Addr()); c != 0 {
netip.go#L1349: return p.Addr().Compare(p2.Addr())
netip.go#L1560: b, err := p.Addr().withoutZone().AppendBinary(b)
netip.go#L1572: return p.AppendBinary(make([]byte, 0, p.Addr().withoutZone().marshalBinarySize()+1))
 |
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. |