Documentation
¶
Index ¶
- func AfterByte(str string, c byte) (string, bool)
- func BeforeByte(str string, c byte) (string, bool)
- func CamelCase(str string) string
- func ContainsByte(s string, c byte) bool
- func Cut(s string, sep string) (before, after string, found bool)
- func IndexAnyExcept(s string, exceptChars string) int
- func IndexNewline(str string) (pos int, newlineLen int)
- func IndexNewlineFrom(str string, from int) (pos int, newlineLen int)
- func JoinFunc[T any](elems []T, sep string, fn func(T) string) string
- func LastAfterByte(str string, c byte) (string, bool)
- func LastBeforeByte(str string, c byte) (string, bool)
- func LastCut(s string, sep string) (before, after string, found bool)
- func LowerFirst(str string) string
- func MapByte(mapping func(b byte) byte, s string) string
- func PadLeft(str string, size int, pad byte) string
- func PadRight(str string, size int, pad byte) string
- func UpperCamelCase(str string) string
- func UpperFirst(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsByte ¶
func IndexAnyExcept ¶
func IndexNewline ¶
func LowerFirst ¶
func UpperCamelCase ¶
func UpperFirst ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.