Versions in this module Expand all Collapse all v1 v1.1.0 Nov 13, 2018 v1.0.0 Nov 13, 2018 Changes in this version + const MaxLen + const MobileReg + const RootRune + func GetImprovedNext(pattern []rune) []int + func GetNext(pattern []rune) []int + func IsValidMobile(mobileNo string) bool + func KMPImprovedSearch(content string, pattern string) int + func KMPSearch(content string, pattern string) int + func NewUUID(t UUIDType) (string, error) + func Reverse(s string) string + func SundaySearch(content string, pattern string) int + type Trie struct + MaxLevel int + Root *TrieNode + func NewTrie() Trie + func (t *Trie) FindAllExisted(content string) []string + func (t *Trie) InsertKey(key string) + func (t *Trie) IsExisted(content string) (bool, int, string) + type TrieNode struct + Children map[rune]*TrieNode + End bool + Value rune + func NewTrieNode(value rune) *TrieNode + type UUIDType int + const UUIDTypeCanonical + const UUIDTypeHashLike