Skip to content

Module-Specific Hooks : v0.6.1

Compare
Choose a tag to compare
@TekWizely TekWizely released this 02 Jul 21:05
· 30 commits to master since this release
b586112

Release v0.6.1

I added a few Module-centric hooks:

  • go-build-mod
  • go-test-mod
  • go-vet-mod
  • golangci-lint-mod
  • golangci-lint-mod-fix

These hooks will walk up the path of each staged file, looking for a go.mod file. The directory containing the go.mod file will be considered a "module-root"

The command (build, test, vet...) will be executed with each module-root being the target.