Clone this repo:
  1. 54b8a0b limit ci to go 1.4+ by Shaba Abhiram · 6 weeks ago main upstream/master
  2. 24b2447 now with go modules by Shaba Abhiram · 6 weeks ago
  3. 223ce5d remove impossible error by Shaba Abhiram · 6 weeks ago
  4. d310757 Improve GitIgnore struct by Shaba Abhiram · 2 years, 8 months ago upstream/1.0.2
  5. fc6676d Add `gover` managed version file for sem ver tagging by Shaba Abhiram · 2 years, 10 months ago upstream/1.0.1

go-gitignore

Build Status Coverage Status

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.