This is a basic example about how to implement dropzonejs using golang as server language.
- Go to your
GOPATHpath and rungit clone https://github.com/gustavocd/golang-and-dropzone. - Change directory
cd golang-and-dropzoneand rungo getto download the dependencies. - Run
go run main.go, you should see the message server running in your terminal. - Visit
http://localhost:8081and start uploading images 💃.
This is a basic implementation as I said before, it doesn't implement success and error handlers, the main goal of this example is to set up a base for a better implementation feel free to improve and change this code, but if it helps you please let me know.