Imports github.com/boombuler/barcode/qr github.com/astaxie/beego github.com/astaxie/beego/logs github.com/boombuler/barcode github.com/garyburd/redigo/redis github.com/mahonia gopkg.in/mgo.v2/bson Standard library imports image/png encoding/base64 encoding/json errors fmt image image/color io/ioutil math/rand net net/http net/url reflect regexp strings sync time bytes crypto/md5