v0.2.0
- Add the method
Binary()
andBits()
forIPAddress
. - For
NewIPNetwork
, if missing the subnet mask, it is4
for ipv4 or6
for ipv6 by default. IPNetwork.Network()
returnsIPNetwork
instead ofIPAddress
.
Binary()
and Bits()
for IPAddress
.NewIPNetwork
, if missing the subnet mask, it is 4
for ipv4 or 6
for ipv6 by default.IPNetwork.Network()
returns IPNetwork
instead of IPAddress
.