github.com/songshiyun/revive@v1.1.5-0.20220323112655-f8433a19b3c5/testdata/function-result-limit.go (about) 1 package fixtures 2 3 func foo() (a, b, c, d) { // MATCH /maximum number of return results per function exceeded; max 3 but got 4/ 4 var a, b, c, d int 5 } 6 7 func bar(a, b int) { 8 9 } 10 11 func baz(a string, b int) { 12 13 } 14 15 func qux() (string, string, int, string, int) { // MATCH /maximum number of return results per function exceeded; max 3 but got 5/ 16 17 }