When a user uploads a file, using r.FormFile("file") you get a multipart.File, a multipart.FileHeader and an error.
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.
I have literally got no idea on where to start so any help would be great.