gitee.com/wgliang/goreporter@v0.0.0-20180902115603-df1b20f7c5d0/linters/golint/testdata/blank-import-main.go (about) 1 // Test that blank imports in package main are not flagged. 2 // OK 3 4 // Binary foo ... 5 package main 6 7 import _ "fmt" 8 9 import ( 10 "os" 11 _ "path" 12 ) 13 14 var _ os.File // for "os"