Catalogue
Go + Revel Framework: Asynchronously Resizing and Uploading Images to S3

Go + Revel Framework: Asynchronously Resizing and Uploading Images to S3

🌐 日本語で読む

Just a memo for myself.

Overview

There are so many Go libraries for AWS out there that it was hard to tell which one to use, so I decided to go with the canonical launchpad.net/goamz/aws for the implementation.

Controller

  • app/controllers/img.go

Component

I turned the image upload part into a component.

  • app/utility/aws.go

Views

  • Views/Img/Index.html
  • public/js/ajax.js
  • public/js/jquery.uploadThumbs.js

Go + Revel Framework: Asynchronously Resizing and Uploading Images to S3

https://kenzo0107.github.io/en/2017/08/09/go-revel-upload-to-s3/

Author

Kenzo Tanaka

Posted on

2017-08-09

Licensed under