package
0.0.0-20240912065615-60fd97213283
Repository: https://github.com/go-leo/gox.git
Documentation: pkg.go.dev
# Functions
AsciiEqualFold is a specialization of bytes.EqualFold for use when s is all ASCII (but may contain non-letters) and contains no special-folding letters.
EqualFoldRight is a specialization of bytes.EqualFold when s is known to be all ASCII (including punctuation), but contains an 's', 'S', 'k', or 'K', requiring a Unicode fold on the bytes in t.
FoldFunc returns one of four different case folding equivalence functions, from most general (and slow) to fastest:
1) bytes.EqualFold, if the key s contains any non-ASCII UTF-8 2) EqualFoldRight, if s contains special folding ASCII ('k', 'K', 's', 'S') 3) AsciiEqualFold, no special, but includes non-letters (including _) 4) SimpleLetterEqualFold, no specials, no non-letters.
No description provided by the author
IsAllBlank Checks if all of the CharSequences are empty ("") or whitespace only.
IsAllEmpty Checks if all of the strings are empty ("").
IsAnyBlank Checks if any of the string are empty ("") or whitespace only.
IsAnyEmpty Checks if any of the strings are empty ("").
IsBlank Checks if a string is empty ("") or whitespace only.
IsEmpty checks if a string is empty ("").
IsNotBlank Checks if a string is not empty ("") and not whitespace only.
IsNotEmpty Checks if a string is not empty ("").
IsValidNumber reports whether s is a valid number.
No description provided by the author
No description provided by the author
No description provided by the author
Remove takes a string candidate and a string of chars to remove from the candidate.
No description provided by the author
SimpleLetterEqualFold is a specialization of bytes.EqualFold for use when s is all ASCII letters (no underscores, etc) and also doesn't contain 'k', 'K', 's', or 'S'.
No description provided by the author