Skip to content

Commit

Permalink
Merge pull request #309 from wangkuiyi/pre-commit
Browse files Browse the repository at this point in the history
Call gofmt at git commit time
  • Loading branch information
xushiwei committed Jun 22, 2020
2 parents 1b1ece3 + 17ffe2f commit cb62569
Show file tree
Hide file tree
Showing 3 changed files with 294 additions and 290 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- repo: git://github.com/dnephin/pre-commit-golang
rev: master
hooks:
- id: go-fmt
Loading

0 comments on commit cb62569

Please sign in to comment.