1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00
Files
revive/testdata/import_shadowing_issue_1435_v1.go

11 lines
199 B
Go
Raw Normal View History

package fixtures
import (
"k8s.io/api/core/v1" // package name is v1
)
func testVer() {
v1 := "" // Do not warn on this rare case.
core := "" // MATCH /The name 'core' shadows an import name/
}