Open nndurj opened 7 years ago
Maybe you have a log
variable somewhere. Or another log
package.
I was having a very similar issue when using Go modules. In the end I had to go to ~/go/src folder and run the following command:
go get github.com/sirupsen/logrus
And then the autocomplete started working perfectly.
I'm using vim-go. Autocomplete for logrus fails when I import it as
log
withimport log "github.com/sirupsen/logrus"
.It work for everything other than
log
. Like, if I doimport log2 "github.com/sirupsen/logrus"
, it works