GORE is a hack to add language support for Go within Eclipse. It configures tbe lsp4e and tm4e projects to use the Gopls language server with highlighting and language-configuration support.
The TextMate grammars are copied from
https://github.com/syscrusher/golang.tmbundle/
$ mvn package
and install from site/target/repository
.
GORE requires that you have gopls
installed on your system.
GORE looks in the following locations:
- $GOBIN
- $GOPATH/bin
go env GOBIN
go env GOPATH
- $PATH
See the gopls
installation instructions for how to
install gopls
. This often seems to do the trick:
(cd /tmp; GO111MODULE=on go get golang.org/x/tools/gopls\@latest)