1
0
mirror of https://github.com/mgechev/revive.git synced 2025-04-02 22:05:32 +02:00
revive/testdata/context_as_argument_default.go

10 lines
176 B
Go
Raw Normal View History

package foo
import (
"context"
"testing"
)
func x(_ AllowedBeforePtrStruct, ctx context.Context) { // MATCH /context.Context should be the first parameter of a function/
}