Thank you for your interest!
Install the following programs
go- Of course =) installation instructionsjust- Just a command runnerpython3- latest stable version (tested with 3.13). No dependencies are needed. This is for code generation.golangci-lint- linter and formatter for go
To contribute follow the following steps:
- Fork this repository.
- Make your changes.
- Run
justcommand (without any arguments). Fix errors it emits, if any. - Push your changes to your fork.
- Make PR.
- You rock!
If you have any questions after reading this section feel free to open an issue - I will be happy to answer.
Validators meta information are stored in validators.toml.
This is done so that comment strings and documentation are generated from a single source of truth to avoid typos and manual work.
After changing this file run:
just generateAfter that change validate/impl.go file to add Validate method for your new validator.
Again, if you have any questions - feel free to open an issue.