title: Parsing CSV file which includes a header block of "comments"
body: <p>I'm trying to parse a CSV file hosted in a remote location, but annoyingly the file contains some readme comments atop the file, in the following format:</p>
  <pre><code>######
  # some readme text,
  # some more, comments
  ###### 
  01-02-03,123,foo,http://example.com 
  04-05-06,789,baz,http://another.com
  </code></pre>
  <p>I'm attempting to use the following code in order to extract the URLs within the data, but it throws an error saying <code>wrong number of fields</code> due to the comments at the top, presumably it's trying to parse them as CSV content.</p>
  <pre><code>type myData struct {
    URL string `json:&quot;url&quot;`
  }
  
  func doWork() ([]myData, error) {
    rurl := &quot;https://example.com/some.csv&quot;
    out := make([]myData, 0)
    
    resp, err := http.Get(rurl)
    if err != nil {
      return []myData{}, err
    }
  
    defer resp.Body.Close()
    reader := csv.NewReader(resp.Body)
    reader.Comma = ','
    data, err := reader.ReadAll()
    if err != nil {
      return []myData{}, err
    }
  
    for _, row := range data {
      out = append(out, myData{URL: row[4]})
    }
  
    return out, nil
  }
  
  func main() {
    data, err := doWork()
    if err != nil {
      panic(err)
    }
    // do something with data
  }
  </code></pre>
  <p>Is there a way to skip over the first N lines of the remote file, or have it ignore lines which start with a #</p>