func net/netip.PrefixFrom
4 uses
net/netip (current package)
netip.go#L669: return PrefixFrom(ip, b), nil
netip.go#L1261: func PrefixFrom(ip Addr, bits int) Prefix {
netip.go#L1316: return PrefixFrom(ip, bits), nil
netip.go#L1488: *p = PrefixFrom(addr, int(b[len(b)-1]))
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)