code: func ParseIPNet(s string) (*net.IPNet, error) {
  	ip, ipNet, err := net.ParseCIDR(s)
  	if err != nil {
  		return nil, err
  	}
  	ipNet.IP = ip
  	return ipNet, nil
  }
docs: // ParseIPNet parses a string in ip/net format and returns a net.IPNet.
  // This is valuable because addresses in netlink are often IPNets and
  // ParseCIDR returns an IPNet with the IP part set to the base IP of the
  // range.