Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WildcardContains ¶
WildcardContains will return true if the given string matches at least one of the passed patterns. Patterns is a string slice which supports wildcards ('*').
func WildcardMatches ¶ added in v0.5.0
WildcardMatches will return true if the given string matches the pattern. Pattern is a string which supports wildcards ('*').
func WildcardSubset ¶
WildcardSubset returns whether the members is a subset of patterns which can include wildcards ('*'). Members is a subset of patterns if all members can be expressed by at least one passed pattern. The slice length of patterns can be less than members.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.