/gofunchecks

A collection of static analysis tool to analyze functions in Go.

Primary LanguageGoMIT LicenseMIT

GitHub Actions Go Report Card

gofunchecks

A collections of static analysis tool to analyze function in Go.

Quick start

Install the tool(s) you wish to use.

# goparamcount: find functions that have too many parameters.
$ go get github.com/ericcornelissen/gofunchecks/cmd/goparamcount

# goreturncount: find functions that have too many return values.
$ go get github.com/ericcornelissen/gofunchecks/cmd/goreturncount

And run it on your projects by using the tool name as a command.