Documentation
¶
Index ¶
- func AnyPrefix(text string, prefixes ...string) bool
- func AnySuffix(text string, suffixes ...string) bool
- func CondText(cond bool, truetext, falsetext string) string
- func ContainsAll(s, chars string) bool
- func FindNonOverlapping(text string, substr string) []int
- func FindOverlapping(text string, substr string) []int
- func IdenticalTo(chars string) func(s string) bool
- func NotIdenticalTo(chars string) func(s string) bool
- func NotSubsetOf(chars string) func(s string) bool
- func NotSupersetOf(chars string) func(s string) bool
- func OrDefault(text, alt string) string
- func SubsetOf(chars string) func(s string) bool
- func SupersetOf(chars string) func(s string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CondText ¶
CondText returns a certain text given a provided condition is true or false. Both the true and false case texts can be provided.
func ContainsAll ¶
ContainsAll tests if all chars are present in s (subset).
func FindNonOverlapping ¶
func FindOverlapping ¶
func IdenticalTo ¶
func NotIdenticalTo ¶
func NotSubsetOf ¶
func NotSupersetOf ¶
func SupersetOf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.