Imports github.com/nfnt/resize github.com/syndtr/goleveldb/leveldb/util github.com/syndtr/goleveldb/leveldb github.com/syndtr/goleveldb/leveldb/errors github.com/syndtr/goleveldb/leveldb/opt github.com/astaxie/beego/logs Standard library imports image/jpeg bytes crypto/rand encoding/hex encoding/json fmt image image/gif image/png io math/big os path sync