1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-27 21:38:56 +02:00
revive/testdata/context_as_argument_default.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/
}