Documentation
¶
Overview ¶
Package brf collects functions with brief output.
Index ¶
- func After(s string, m string) string
- func ExcludePrefix(esl []string, pfx string) (sl []string)
- func ExcludeStrings(msl []string, esl []string) (sl []string)
- func FirstLine(s string) string
- 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 string slice, without the excluded prefix strings.
func ExcludeStrings ¶
ExcludeStrings returns a string slice, without the excluded strings.
func NoDuplicates ¶ added in v0.1.0
NoDuplicates returns a string slice with no duplicate entries.
func OnlyPrefix ¶
OnlyPrefix returns a string slice, with only matching prefix strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.