go-gitignore A gitignore parser for Go Install go get github.com/sabhiram/go-gitignore Usage For a quick sample of how to use this library, check out the tests under ignore_test.go.