golangci-lint/test/testdata/exhaustive_generated.go
nishanths 58234f055c
update exhaustive to latest; use version in go.mod (#1449)
* update exhaustive to latest

* wip

* update dep

* update flag name

* use versioned dep

* add tests

* unused file

* no need config file

* add vars to test

* test comment

* remove default settings
2020-10-14 08:19:06 +02:00

24 lines
453 B
Go

//args: -Eexhaustive
package testdata
// Code generated by some program. DO NOT EDIT.
// Should not report missing cases in the switch statement below, because this
// is a generated file as indicated by the above comment
// (golang.org/s/generatedcode), and check-generated setting is false.
type Direction int
const (
North Direction = iota
East
South
West
)
func processDirectionGenerated(d Direction) {
switch d {
case North, South:
}
}