net/netip.Prefix.Addr (method)
7 uses
net/netip (current package)
netip.go#L1316: func (p Prefix) Addr() Addr { return p.ip }
netip.go#L1342: if c := cmp.Compare(p.Addr().BitLen(), p2.Addr().BitLen()); c != 0 {
netip.go#L1348: return p.Addr().Compare(p2.Addr())
netip.go#L1559: b, err := p.Addr().withoutZone().AppendBinary(b)
netip.go#L1571: return p.AppendBinary(make([]byte, 0, p.Addr().withoutZone().marshalBinarySize()+1))
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)