title: golang - How to check multipart.File information
body: <p>When a user uploads a file, using r.FormFile("file") you get a multipart.File, a multipart.FileHeader and an error.</p>
  
  <p>My question is how to just obtain information about the uploaded file for example, it's size, and if it's an image it's demensions, and so on and so forth.</p>
  
  <p>I have literally got no idea on where to start so any help would be great.</p>