1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-23 21:19:26 +02:00

12 lines
186 B
Go
Raw Normal View History

package fixtures
func foo(a bool, b int) { // MATCH /parameter 'a' seems to be a control flag, avoid control coupling/
if a {
}
}
func foo(a bool, b int) {
str := mystruct{a, b}
}