mirror of
https://github.com/mgechev/revive.git
synced 2025-06-08 23:26:29 +02:00
10 lines
176 B
Go
10 lines
176 B
Go
|
package foo
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func x(_ AllowedBeforePtrStruct, ctx context.Context) { // MATCH /context.Context should be the first parameter of a function/
|
||
|
}
|