1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/testdata/golint/blank-import-with-embed.go
2021-03-06 14:04:57 +01:00

15 lines
255 B
Go

// 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