title: How to create a http request that contains multiple FileHeaders?
body: <p>I am trying to test a uploading service that supports multiple files uploading,and I found this:</p>
  
  <p><a href="https://stackoverflow.com/questions/20205796/golang-post-data-using-the-content-type-multipart-form-data">golang POST data using the Content-Type multipart/form-data</a></p>
  
  <p>that introduced how to create a request to upload a single file,but I need to upload multiple files,is there simple way to create this kind of request?</p>
  
  <p><strong>update:</strong></p>
  
  <p>please check line:38 and 39 in post:<a href="http://sanatgersappa.blogspot.com/2013/03/handling-multiple-file-uploads-in-go.html" rel="nofollow noreferrer">to support html5 multiple files uploading</a></p>
  
  <hr>
  
  <pre><code>line 38    files := m.File["myfiles"]
  line 29      for i, _ := range files {
  </code></pre>
  
  <p>It seems that it needs to set single name for multiple file headers to stimulate the html5 multiple files uploading.</p>