title: How to list all IPs in a network
body: <p>Python has a method in the <code>ipaddress</code> module to list all the IPs in a network. eg.</p>
  
  <pre><code>import ipaddress
  ips = [ip for ip in ipaddress.ip_network('8.8.8.0/24').hosts()]
  </code></pre>
  
  <p>How would you do the same thing in Go?</p>