How to install gocode-gomod manually?

I’m in an environment where I can’t connect to the internet directly. I’m using VSCode and with Go extension which requires some go binaries to be installed.

Till now I’ve been downloading zips of all the dependencies to $GOPATH and doing go install from within the directory.

I have installed all the binaries, except only one; gocode-gomod. As far as I’m sure, that binary comes from https://github.com/stamblerre/gocode.

Doing go install from within $GOPATH/src/github.com/stamblerre/gocode installs gocode, but no gocode-gomod. Can anyone tell me how to install gocode-gomod manually?

PS: What gocode-gomod binary is for?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.