Imports github.com/globalsign/mgo github.com/globalsign/mgo/bson github.com/gorilla/mux github.com/jemuelmiao/objectid github.com/nu7hatch/gouuid Standard library imports bytes container/list encoding/base64 encoding/json errors fmt io/ioutil log math/rand net/http net/url os reflect strconv strings sync time