logginghandler/vendor/github.com/ultraware/funlen/README.md
Marvin Preuss d095180eb4
All checks were successful
continuous-integration/drone/push Build is passing
build: uses go modules for tool handling
2022-01-14 13:51:56 +01:00

10 lines
354 B
Markdown

# Funlen linter
Funlen is a linter that checks for long functions. It can checks both on the number of lines and the number of statements.
The default limits are 60 lines and 40 statements. You can configure these.
## Installation guide
Funlen is included in [golangci-lint](https://github.com/golangci/golangci-lint/). Install it and enable funlen.