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 context encoding/json fmt html/template io/ioutil math/rand net/http net/url strconv strings time