1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-27 21:38:56 +02:00
revive/testdata/golint/blank-import-with-embed.go

15 lines
255 B
Go
Raw Normal View History

// Test that blank import of "embed" is allowed
// Package foo ...
package foo
import (
_ "embed"
_ "fmt"
/* MATCH:8 /a blank import should be only in a main or test package, or have a comment justifying it/ */
)
//go:embed .gitignore
var _ string