mirror of
https://github.com/mgechev/revive.git
synced 2024-11-21 17:16:40 +02:00
18 lines
210 B
Go
18 lines
210 B
Go
package fixtures
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
)
|
|
|
|
func GC() {
|
|
}
|
|
|
|
func foo() {
|
|
fmt.Println("just testing")
|
|
GC()
|
|
fixtures.GC()
|
|
runtime.Goexit()
|
|
runtime.GC() // MATCH /explicit call to the garbage collector/
|
|
}
|