Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sabhiram/go-gitignore
A gitignore parser for go
https://github.com/sabhiram/go-gitignore
Last synced: 3 months ago
JSON representation
A gitignore parser for go
- Host: GitHub
- URL: https://github.com/sabhiram/go-gitignore
- Owner: sabhiram
- License: mit
- Created: 2015-01-08T01:25:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-20T19:15:45.000Z (5 months ago)
- Last Synced: 2024-01-27T08:40:15.469Z (5 months ago)
- Language: Go
- Size: 41 KB
- Stars: 118
- Watchers: 6
- Forks: 27
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-stars - sabhiram/go-gitignore - A gitignore parser for go (Go)
README
# go-gitignore
[![Build Status](https://travis-ci.org/sabhiram/go-gitignore.svg)](https://travis-ci.org/sabhiram/go-gitignore) [![Coverage Status](https://coveralls.io/repos/github/sabhiram/go-gitignore/badge.svg?branch=master)](https://coveralls.io/github/sabhiram/go-gitignore?branch=master)
A gitignore parser for `Go`
## Install
```shell
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`.