Imports github.com/gorilla/mux github.com/minio/minio-go go.mongodb.org/mongo-driver/bson go.mongodb.org/mongo-driver/bson/primitive go.mongodb.org/mongo-driver/mongo go.mongodb.org/mongo-driver/mongo/options github.com/rs/cors Standard library imports context encoding/json errors fmt log net/http os path/filepath time