Versions in this module Expand all Collapse all v1 v1.2.12 May 22, 2020 Changes in this version + const Byte + const Day + const EByte + const GByte + const Hour + const KByte + const MByte + const Minute + const Month + const PByte + const TByte + const Week + const Year + func CompareVersion(src, toCompare string) bool + func CompressedContent(h *template.HTML) + func CopyMap(m map[string]string) map[string]string + func FileExist(path string) bool + func FileSize(s uint64) string + func InArray(arr []string, str string) bool + func IsJSON(str string) bool + func JSON(a interface{}) string + func ParseBool(s string) bool + func ParseFloat32(f string) float32 + func Random(strings []string) ([]string, error) + func ReplaceNth(s, old, new string, n int) string + func SetDefault(value, condition, def string) string + func TimeSincePro(then time.Time, m map[string]string) string + func Uuid(length int64) string + func WrapURL(u string) string