Documentation ¶ Index ¶ func Match(pattern, name string, separators ...rune) (bool, error) type Glob func Compile(pattern string, separators ...rune) (Glob, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Match ¶ func Match(pattern, name string, separators ...rune) (bool, error) Match returns whether the name matches the glob pattern, also considering one or several optionnal separator. An error is only returned if the pattern is invalid. Types ¶ type Glob ¶ added in v16.15.0 type Glob interface { Match(name string) bool } func Compile ¶ added in v16.15.0 func Compile(pattern string, separators ...rune) (Glob, error) Source Files ¶ View all Source files glob.go Click to show internal directories. Click to hide internal directories.