Skip to content

bhundven/golang-pre-commit

Repository files navigation

golang-pre-commit

This is a collection of golang pre-commit hooks specifcally for build, generate, unit tests, and other build-time workflow checks.

If you need a pre-commit for a linter or formatter, check out the official golangci-lint pre-commit: https://github.com/golangci/golangci-lint/blob/main/.pre-commit-hooks.yaml

Usage

  - repo: https://github.com/bhundven/golang-pre-commit.git
    rev: v1
    hooks:
      - id: go-generate

Available Hooks

About

pre-commit hooks for golang

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages