codesamples-golang-net-http-html-template-fileuploader
1) Go Lang net/http html/template file uploader 2) Go Lang version of https://github.com/giantpanda9/codesamples-python3-flask-file-upload
Installation
Note: On Debian based OS like Ubuntu, not last one to follow 1) Install Go 2) git clone the project 3) go get github.com/disintegration/imaging 4) sudo apt-get install libexif-dev [3] 5) go get github.com/gosexy/exif [3]
How to run?
1) cd /path/to/your/project/folder/path/to/codesamples-golang-net-http-html-template-fileuploader/ 2) go run app.go models.go 3) Direct your browser to localhost:8080
How to use?
1) Upload your images 2) Additional information localhost:8080/readme
Dependencies
1) “github.com/disintegration/imaging” to create thumbnails 2) “github.com/gosexy/exif” to get EXIF data from images
Sources
1) https://www.rosettacode.org/wiki/Percentage_difference_between_images#Go 2) https://www.socketloop.com/tutorials/golang-generate-thumbnails-from-images 3) https://sosedoff.com/2015/01/31/photos-exif-gps-go.html 4) https://developpaper.com/getting-access-creation-modification-time-of-files-on-linux-using-golang/ 5) https://forum.golangbridge.org/t/using-io-reader/8719 6) https://sosedoff.com/2015/01/31/photos-exif-gps-go.html