net/netip.Prefix.Addr (method)
6 uses
net/netip (current package)
netip.go#L1287: func (p Prefix) Addr() Addr { return p.ip }
netip.go#L1313: if c := cmp.Compare(p.Addr().BitLen(), p2.Addr().BitLen()); c != 0 {
netip.go#L1319: return p.Addr().Compare(p2.Addr())
netip.go#L1524: b := p.Addr().withoutZone().marshalBinaryWithTrailingBytes(1)
 |
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. |