Documentation
¶
Index ¶
- func Capitalize(a []string) []string
- func Repeat(a []string, count int) []string
- func Replace(a []string, old, new string, n int) []string
- func ReplaceAll(a []string, old, new string) []string
- func ToLower(a []string) []string
- func ToTitle(a []string) []string
- func ToUpper(a []string) []string
- func Trim(a []string, cutset string) []string
- func TrimLeft(a []string, cutset string) []string
- func TrimPrefix(a []string, prefix string) []string
- func TrimRight(a []string, cutset string) []string
- func TrimSpace(a []string) []string
- func TrimSuffix(a []string, suffix string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
Capitalize capitalizes the first letter of each string in the slice.
func ReplaceAll ¶
ReplaceAll replaces all occurrences of old in each string in the slice with new.
func TrimPrefix ¶
TrimPrefix removes leading prefix from each string in the slice.
func TrimSuffix ¶
TrimSuffix removes trailing suffix from each string in the slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.