Skip to content

Commit

Permalink
more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Oct 5, 2019
1 parent d60c334 commit f07d781
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ _testdir/main.go
cmd/ghglob/main.go
ghglob.go
ghmatcher/ghmatcher.go
# List .js or .jsx files.
$ ghglob "**.jsx?"
# As CLI arguments. e.g. https://github.com/koalaman/shellcheck
$ shellcheck $(ghglob '**/*.sh')
# gofmt except test data.
$ gofmt -d -s $(ghglob '**.go' '!_testdir/**')
# Run golint against only changed files.
$ git diff --name-only master | ghglob '**.go' | xargs -i golint {}
```

## Packages
Expand Down

0 comments on commit f07d781

Please sign in to comment.