Clone this repo:
  1. 54b8a0b limit ci to go 1.4+ by Shaba Abhiram · 1 year, 5 months ago main
  2. 24b2447 now with go modules by Shaba Abhiram · 1 year, 5 months ago
  3. 223ce5d remove impossible error by Shaba Abhiram · 1 year, 5 months ago
  4. d310757 Improve GitIgnore struct by Shaba Abhiram · 4 years ago upstream/1.0.2
  5. fc6676d Add `gover` managed version file for sem ver tagging by Shaba Abhiram · 4 years, 2 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.