code: func ipNet(ip string, ones, bits int) net.IPNet {
  	return net.IPNet{IP: net.ParseIP(ip), Mask: net.CIDRMask(ones, bits)}
  }
docs: // ipNet returns a net.IPNet struct given the passed IP address string, number
  // of one bits to include at the start of the mask, and the total number of bits
  // for the mask.