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