Versions in this module Expand all Collapse all v1 v1.0.0 Feb 21, 2026 Changes in this version + const DefaultRandomAlphabet + var DefaultRandomFactory = NewRandomFactory() + func CamelCase(s string) string + func FromBytes(bytes []byte) string + func KebabCase(s string) string + func Len(s string) int + func PadBoth(s string, length int, padding string) string + func PadLeft(s string, length int, padding string) string + func PadRight(s string, length int, padding string) string + func PascalCase(s string) string + func Random(length int) string + func Reverse(s string) string + func SnakeCase(s string) string + func ToBytes(s string) []byte + type RandomFactory interface + MakeRandomString func(length int) string + func NewRandomFactory(opt ...RandomOption) RandomFactory + type RandomOption func(opts *RandomOptions) + func RandomAlphabet(alphabet string) RandomOption + type RandomOptions struct + Alphabet []rune