Documentation
¶
Overview ¶
Package brf collects functions with brief output.
Index ¶
- func After(s string, m string) (string, error)
- func ExcludePrefix(esl []string, pfx string) (sl []string)
- func ExcludeStrings(msl []string, esl []string) (sl []string)
- func FirstLine(s string) (string, error)
- func LowerKebab(s string) string
- func NoBlanks(bsl []string) (sl []string)
- func NoDuplicates(dsl []string) (sl []string)
- func OnlyPrefix(psl []string, pfx string) (sl []string)
- func Summary(sl []string, l int) string
- func Trim(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExcludePrefix ¶
ExcludePrefix returns a reduced string slice, excluding entries with the prefix.
func ExcludeStrings ¶
ExcludeStrings returns a reduced string slice, without the entries from a second slice.
func LowerKebab ¶
LowerKebab converts a string to lower kebab case.
func NoDuplicates ¶ added in v0.1.0
NoDuplicates returns a reduced string slice with no duplicate entries.
func OnlyPrefix ¶
OnlyPrefix returns a reduced string slice, with only entries with the prefix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.