Hooks for use with pre-commit
go-mod-vendor
- Runsgo mod vendor
and asserts all dependencies have been vendored.
Create or append to your .pre-commit-config.yaml
configuration:
- repo: https://github.com/Aneurysm9/pre-commit-hooks
rev: v0.0.2
hooks:
- id: go-mod-vendor
pre-commit-hooks
is open source software released under the MIT license.