Imports github.com/gorilla/mux gopkg.in/mgo.v2 gopkg.in/mgo.v2/bson Standard library imports encoding/json flag fmt io io/ioutil log net/http os path/filepath strings time