Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2026 Changes in this version + func And(a, b []string) []string + func CompareVersion(v1, v2 string) (int, error) + func Contain(list []string, s string) bool + func ContainAll(list []string, s ...string) bool + func ContainAny(list []string, s ...string) bool + func DecodeId(prefix string, s string) (uint64, error) + func DecodeIdWithKey(prefix string, s string, key []byte) (uint64, error) + func Distinct(arr []string) []string + func EncodeId(prefix string, n uint64) string + func EncodeIdWithKey(prefix string, n uint64, key []byte) string + func Equal(a, b []string) bool + func Match(pattern, s string) bool + func MatchDst(pattern, s string, dst []string) ([]string, bool) + func ParseSearch(query string, keys ...string) (map[string]string, string) + func Rand(n int) string + func ReplaceVars(s string, vars map[string]any) string + func Split(s string, sep string) []string + func TrimAny(input string, suffixes []string) (string, bool) + func Union(a, b []string) []string + type String string + func (s *String) Scan(value any) error + func (s String) Value() (driver.Value, error)