Skip to content

karllynnn/pre-commit-golang

 
 

Repository files navigation

pre-commit-golang

golang hooks for http://pre-commit.com/

Using these hooks

Add this to your .pre-commit-config.yaml

- repo: git://github.com/dnephin/pre-commit-golang
  rev: master
  hooks:
    - id: go-fmt
    - id: go-lint
    - id: validate-toml
    - id: golangci-lint
    - id: go-unit-tests
    - id: go-build

Available hooks

About

Golang hooks for pre-commit

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%