Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](s []T, e T) bool
func FindMatches ¶
FindMatches finds regular expression matches in a key/value based text (ini files, for example), and returns a map with them. If the matched key has spaces, they will be replaced with underscores If the same keys is found multiple times, the entry of the map will have a list as value with all of the matched values The pattern must have 2 groups. For example: `(.+)=(.*)`
Types ¶
type CommandExecutor ¶
Click to show internal directories.
Click to hide internal directories.