nsf / gocode

An autocompletion daemon for the Go programming language
MIT License
5.01k stars 656 forks source link

Which variable to customize to get completion? #499

Open ghost opened 6 years ago

ghost commented 6 years ago

Hello, first of all, thank you for maintaining this helpful repository.

I am using gocode on my emacs25 with company-go.

For my case, I have used go built from the source, and the path to the go binary was $HOME/git/go/bin.

It worked nice providing completions for all standard library packages and functions, etc.

However, as I tried to rename the directory of go binary to $HOME/github.com/go/bin (merely replacing git with github.com), the completion stopped.

I have changed $PATH properly and the $GOPATH remained the same.

I think some of emacs variables are problematic here, but I cannot figure out which variable to update.

Could you give some help, please

Best Regards, Park