All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
It is recommended to use a struct when a function returns too many results.
func foo() (int, string, bool, int, error)
type fooResult struct { a int b string c bool d int } func foo() (fooResult, error)