mirror of
https://github.com/mgechev/revive.git
synced 2024-11-24 08:32:22 +02:00
22 lines
476 B
Go
22 lines
476 B
Go
|
package fixtures
|
||
|
|
||
|
import (
|
||
|
"sync"
|
||
|
)
|
||
|
|
||
|
func foo(a int, b float32, c char, d sync.WaitGroup) { // MATCH /sync.WaitGroup passed by value, the function will get a copy of the original one/
|
||
|
|
||
|
}
|
||
|
|
||
|
func bar(a, b sync.WaitGroup) { // MATCH /sync.WaitGroup passed by value, the function will get a copy of the original one/
|
||
|
|
||
|
}
|
||
|
|
||
|
func baz(zz sync.WaitGroup) { // MATCH /sync.WaitGroup passed by value, the function will get a copy of the original one/
|
||
|
|
||
|
}
|
||
|
|
||
|
func ok(zz *sync.WaitGroup) {
|
||
|
|
||
|
}
|