Versions in this module Expand all Collapse all v2 v2.9.1 Sep 18, 2024 Changes in this version + func AddQueryToURL(urlStr string, queryMap map[string]string) string + func CheckFileExist(path string) bool + func ContainsStr(s []string, v string) bool + func CopyStruct(src *map[string]interface{}, dest *map[string]interface{}) error + func EnsureDir(dir string) error + func GetMD5Hash(text string) string + func GetSha256Hash(text string) string + func Marked(markdownStr string) (string, error) + func PseudorandomString(length int) string + func PseudorandomStringWithAlphabet(length int, alphabet string) string + func RandomString(length int) string + func RandomStringWithAlphabet(length int, alphabet string) string + func RemoveBlankStrings(s []string) []string + func RemoveDuplicates(arr []string) []string + func RenderMustaches(data string, dict map[string]interface{}, ...) string + func SplitAndTrimSpace(s string, sep string) []string + func StructToFlatDotMap(s interface{}) map[string]interface + func StructToMap(s interface{}) map[string]interface + func ToString(val interface{}) string + func TruncateString(str string, length int) string + func ValidateEmail(email string) bool + func ValidateURL(v string) bool