Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Match ¶
Match is conceptually similar to filepath.Glob, but it uses the glob package from github.com/gobwas/glob, which supports more advanced globbing patterns.
Example ¶
package main import ( "fmt" "github.com/matthewmueller/glob" ) func main() { files, err := glob.Match("[A-Z]*.md") if err != nil { fmt.Println(err) } for _, file := range files { fmt.Println(file) } }
Output: Changelog.md License.md Readme.md
Types ¶
Click to show internal directories.
Click to hide internal directories.