Imports code.gitea.io/gitea/modules/log code.gitea.io/gitea/modules/setting github.com/Unknwon/com github.com/Unknwon/i18n github.com/gogits/chardet Standard library imports crypto/md5 crypto/rand crypto/sha1 encoding/base64 encoding/hex fmt html/template io math math/big net/http strconv strings time unicode unicode/utf8