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 context crypto/tls encoding/json errors fmt io/ioutil log math/rand net/http strconv time