Documentation ¶
Index ¶
- func ContainsAllRequiredFields(fields map[string]string) bool
- func ExtractFieldsStringWithRegexp(s string, r *regexp.Regexp) map[string]string
- func GenericExtractFieldsStringWithRegexp[V any](s string, r *RegexWithValue[V]) map[string]string
- func GetVersion() string
- func MatchesAnyRegexp(r []*regexp.Regexp, s string) (bool, *regexp.Regexp)
- func PrintVersion(commit string)
- type RegexWithValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericExtractFieldsStringWithRegexp ¶ added in v1.0.0
func GenericExtractFieldsStringWithRegexp[V any](s string, r *RegexWithValue[V]) map[string]string
func GetVersion ¶ added in v1.0.0
func GetVersion() string
func MatchesAnyRegexp ¶ added in v1.0.0
func PrintVersion ¶ added in v0.2.6
func PrintVersion(commit string)
Types ¶
type RegexWithValue ¶ added in v1.0.0
func GenericMatchesAnyRegexp ¶ added in v1.0.0
func GenericMatchesAnyRegexp[V any](r []*RegexWithValue[V], s string) (bool, *RegexWithValue[V])
Click to show internal directories.
Click to hide internal directories.