-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.7
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
What did you do?
Import using the vendor folder. I used the github.com/lib/pq library. In my code, it only references postgres in the datasource name. If I don't use _ github.com/lib/pq/library in the imports section, goimports deletes the import line for it. I don't want to have to use the _ preface.
What did you expect to see?
What did you see instead?
Reactions are currently unavailable