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