mirror of
https://github.com/mgechev/revive.git
synced 2024-11-30 08:57:07 +02:00
18 lines
319 B
Go
18 lines
319 B
Go
package fixtures
|
|
|
|
func foo(a, b, c, d int) { // MATCH /maximum number of arguments per function exceeded; max 3 but got 4/
|
|
|
|
}
|
|
|
|
func bar(a, b int) {
|
|
|
|
}
|
|
|
|
func baz(a string, b int) {
|
|
|
|
}
|
|
|
|
func qux(a string, b int, c int, d string, e int64) { // MATCH /maximum number of arguments per function exceeded; max 3 but got 5/
|
|
|
|
}
|