Documentation ¶
Index ¶
- func Append(l, r string) string
- func AppendNewline(l string) string
- func Dedent(s string) string
- func IndexAllFunc(s string, f func(rune) bool) []int
- func LastCut(s, sep string) (before, after string, found bool)
- func MapCut(s string, fn StrFn, sep string) (before, after string, found bool)
- func MapSplit(s string, fn StrFn, sep string) []string
- func NumLeadingSpaces(s string) int
- func ParseNestedList(s string, left, right, sep rune) ([]any, error)
- func ScanAllLines(r io.Reader, skipEmpty bool) ([]string, error)
- func ShellQuote(s string) string
- func SplitAny(ds []rune, s string) []string
- func SplitFunc(f func(rune) bool, s string) []string
- func ToCamel(s string) string
- func ToSnake(s string) string
- func ToString(o any) string
- func ToValue(o any) string
- func TrimCut(s, cutset, sep string) (before, after string, found bool)
- func TrimSpaceCut(s, sep string) (before, after string, found bool)
- func TrimSpaceSplit(s, sep string) []string
- func TrimSplit(s, cutset, sep string) []string
- type Interner
- type Secret
- type StrFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendNewline ¶
func NumLeadingSpaces ¶
func ShellQuote ¶
func TrimSpaceCut ¶
func TrimSpaceSplit ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.