Imports github.com/dimfeld/httptreemux gopkg.in/mgo.v2 gopkg.in/mgo.v2/bson Standard library imports encoding/json errors fmt html/template io log math/rand net/http net/url os path strings time