String returns a CIDR serialization of the subnet, or an empty string if the subnet is nil.
()
| 26 | // String returns a CIDR serialization of the subnet, or an empty |
| 27 | // string if the subnet is nil. |
| 28 | func (ipnet *IPNet) String() string { |
| 29 | if ipnet == nil { |
| 30 | return "" |
| 31 | } |
| 32 | return ipnet.IPNet.String() |
| 33 | } |
| 34 | |
| 35 | // DeepCopyInto copies the receiver into out. out must be non-nil. |
| 36 | func (ipnet *IPNet) DeepCopyInto(out *IPNet) { |
no outgoing calls