Imports github.com/gorilla/mux github.com/mitchellh/mapstructure gopkg.in/mgo.v2 gopkg.in/mgo.v2/bson github.com/rs/cors Standard library imports bytes compress/gzip encoding/json errors io io/ioutil log net/http os reflect strconv strings