Imports github.com/gorilla/mux go.mongodb.org/mongo-driver/bson go.mongodb.org/mongo-driver/mongo go.mongodb.org/mongo-driver/mongo/options Standard library imports bytes compress/gzip context encoding/json errors fmt io io/ioutil log net/http os path/filepath regexp strings time