TekWizely/pre-commit-golang
View on GitHub ↗ ★ 376 Shell
Pre-commit hooks for Golang with support for monorepos, the ability to pass arguments and environment variables to all hooks, and the ability to invoke custom go tools.
4 mentions on Hacker News by 2 people: 2 stories, 2 comments · first 2019-12-17 · latest 2023-02-11
20082026
-
…go pre-commit hooks package has built-in support for gofumpt (along with a bunch if other linters): https://github.com/TekWizely/pre-commit-golang
comment by davidpfarrell · 2023-02-11 · in Gofumpt: A stricter gofmt -
Clickable link: https://github.com/TekWizely/pre-commit-golang/releases/tag/...
comment by TekWizely · 2021-08-07 · in Pre-commit-Golang v1.0.0-beta.1 – Now with support for running custom go tools