All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add
-tests
flag. - Add one-letter aliases for common flags.
- Fix mistake in usage message (double "goparamcount:" prefix).
- Add
-excludes
flag. - Update default number of parameters allowed to
3
(from2
).
- Add
-verbose
flag.
- Add
-public-max
and-private-max
flags.
- Improve program output.
- Remove
-help
flag.
- Fix bug where multiple parameters of the same type where counted as one.
- Analyse Go code to find function definitions with too many parameters.
- Configure the number of parameters allowed (default is
2
). - Use the
-set_exit_status
flag to exit with a non-zero exit code if any function exceeds the limit.