Versions in this module Expand all Collapse all v0 v0.1.6 May 13, 2026 v0.1.5 May 9, 2026 Changes in this version + var DateFormats = []string + func Bool(value any) bool + func Compare(value any, other any) int + func DeepCopy(m map[string]any) map[string]any + func FileBaseName(file string) string + func FileExists(path string) bool + func FileList(path string) ([]string, error) + func Merge(v0, v1 any) any + func NewTaskPool(wg *sync.WaitGroup, size int, f func(any)) *taskPool + func ParseTime(value string) (time.Time, error) + func RemoveDir(path string) error + func Sort(key string, f func(string, int, int) int) func(int, int) bool + func SplitPrefix(str string, split string) []string + func SplitTrim(str string, split string) []string + func StringConcat(strs ...string) string + func StringReplace(s string, vars map[string]string) string + func Truncate(text string, length int, ellipsis string) string + func TruncateHTML(text string, length int, ellipsis string) string + type Cache interface + Delete func(K) + Iter func() iter.Seq2[K, V] + Len func() int + Load func(K) (V, bool) + Range func(func(K, V) bool) + Reset func() + Store func(K, V) + func NewCache[K comparable, V any]() Cache[K, V]