Imports github.com/gorilla/mux github.com/gorilla/sessions github.com/mitchellh/goamz/aws github.com/mitchellh/goamz/s3 Standard library imports bytes encoding/json fmt html/template io log math/rand mime/multipart net/http os strconv time