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