This is your work, valued
go-gitignore. Go package for parsing and matching paths against .gitignore files.