Imports github.com/nfnt/resize github.com/issue9/identicon github.com/gogits/gogs/modules/log github.com/gogits/gogs/modules/setting Standard library imports image crypto/md5 image/jpeg encoding/hex errors fmt image/color/palette image/png io math/rand net/http net/url os path/filepath strings sync time