Imports github.com/disintegration/imaging github.com/globalsign/mgo github.com/globalsign/mgo/bson Standard library imports bytes errors fmt image image/color image/draw image/png io math math/rand net/http sort strconv strings text/template time