Imports github.com/gorilla/mux gopkg.in/mgo.v2 gopkg.in/mgo.v2/bson Standard library imports bufio bytes context crypto/rand encoding/json fmt io/ioutil log net/http net/url os os/exec path path/filepath time