Versions in this module Expand all Collapse all v0 v0.1.0 Aug 14, 2023 Changes in this version + func BuilderOrderNoRandSize(size uint, a ...string) string + func IntToSha256(i int) string + func RandInt(length uint) (n int) + func RandLetter(length uint) string + func RandNumber(length uint) string + func Repr(v any) string + func ShowLess(str string, opts ...int) string + func StrMd5UnixNano() string + func StrSha256UnixNano() string + func StrToMd5(b string) string + func StrToSha256(b string) string + func StrUnixNanoNow() string + func StrUnixNow() string + func UUIDString() string + type AnyType = any + type LetterStruct struct + func NewRandLetter() *LetterStruct + func (ls *LetterStruct) OnlyLetters() *LetterStruct + func (ls *LetterStruct) OnlyNumber() *LetterStruct + func (ls *LetterStruct) RandProcess() ResultLetter + func (ls *LetterStruct) SetLen(length uint) *LetterStruct + func (ls *LetterStruct) SetLetters(letters string) *LetterStruct + type PlaceholderType = struct + var Placeholder PlaceholderType + type ResultLetter string + func (rl ResultLetter) ToInt() (int, error) + func (rl ResultLetter) ToLower() string + func (rl ResultLetter) ToString() string + func (rl ResultLetter) ToUpper() string + type Trie interface + Filter func(text string) (string, []string, bool) + FindKeywords func(text string) []string + func DefaultTrie() Trie + func NewTrie(words []string, opts ...TrieOption) Trie + type TrieOption func(trie *trieNode) + func WithMask(mask rune) TrieOption