package
1.1.3
Repository: https://github.com/wuhc1010/go-zero.git
Documentation: pkg.go.dev

# Functions

Contains checks if str is in list.
Filter filters chars from s with given filter function.
FirstN returns first n runes from s.
HasEmpty checks if there are empty strings in args.
Join joins any number of elements into a single string, separating them with given sep.
NewReplacer returns a Replacer.
NewTrie returns a Trie.
NotEmpty checks if all strings are not empty in args.
Rand returns a random string.
RandId returns a random id string.
Randn returns a random string with length n.
Remove removes given strs from strings.
Reverse reverses s.
Seed sets the seed to seed.
Substr returns runes between start and stop [start, stop) regardless of the chars are ascii or utf8.
TakeOne returns valid string if not empty or later one.
TakeWithPriority returns the first not empty result from fns.
ToCamelCase returns the string that converts the first letter to lowercase.
Union merges the strings in first and second.
WithMask customizes a Trie with keywords masked as given mask char.

# Variables

ErrInvalidStartPosition is an error that indicates the start position is invalid.
ErrInvalidStopPosition is an error that indicates the stop position is invalid.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author