# Functions
AppendAvatarSize appends avatar size query parameter to the URL in the correct format.
AvatarLink returns relative avatar link to the site domain by given email, which includes app sub-url as prefix.
BasicAuthDecode decodes username and password portions of HTTP Basic Authentication from encoded content.
CreateTimeLimitCode generates a time limit code based on given input data.
DetectEncoding returns best guess of encoding of given content.
FileSize calculates the file size and generate user-friendly string.
HashEmail hashes email address to MD5 string.
Int64sToMap converts a slice of int64 to a int64 map.
Int64sToStrings converts a slice of int64 to a slice of string.
No description provided by the author
IsLetter reports whether the rune is a letter (category L).
IsMaliciousPath returns true if given path is an absolute path or contains malicious content which has potential to traverse upper level directories.
No description provided by the author
IsSameSiteURLPath returns true if the URL path belongs to the same site, false otherwise.
IsTextFile returns true if file content format is plain text or empty.
No description provided by the author
No description provided by the author
ShortSHA1 truncates SHA1 string length to at most 10.
StringsToInt64s converts a slice of string to a slice of int64.
Subtract deals with subtraction of all types of number.
TimeSince calculates the time interval and generate user-friendly string.
TimeSincePro calculates the time interval and generate full user-friendly string.
verify time limit code.