You can contribute to vet
and help make it better. Apart from bug fixes,
features, we particularly value contributions in the form of:
- Documentation improvements
- Bug reports
- Using
vet
in your projects and providing feedback
- Fork the repository
- Add your changes
- Submit a pull request
Create a new issue and add the label "bug".
Create a new issue and add the label "enhancement".
When contributing changes to repository, follow these steps:
- Ensure tests are passing
- Ensure you write test cases for new code
Signed-off-by
line is required in commit message (use-s
flag while committing)
- Go 1.22+
- Install ASDF
- Install the development tools
asdf install
- Install
lefthook
go install github.com/evilmartians/lefthook@latest
- Install git hooks
$(go env GOPATH)/bin/lefthook install
Install build tools
make dev-setup
Generate code from API specs and build vet
make
Quick build without regenerating code from API specs
make quick-vet
go test -v ./...