go get command does not provide output nor take effect

I'm sure you solve that issue by now, but if that can help others, you shold check your "$GOTOOLDIR" which is where the "go get" are going to be installed.

Type

go env

And check that your GOTOOLDIR is the one that should be where you want the go get to be installed.


$ go help get
usage: go get [-d] [-f] [-fix] [-insecure] [-t] [-u] [build flags] [packages]

Get downloads the packages named by the import paths, along with their
dependencies. It then installs the named packages, like 'go install'.

The -u flag instructs get to use the network to update the named packages
and their dependencies.  By default, get uses the network to check out
missing packages but does not use it to look for updates to existing packages.

The -v flag enables verbose progress and debug output.

$ 

If there is nothing to do then there is nothing to report. For example, when go get is run for the first time it downloads and installs, after that it does nothing because there is nothing to do, unless you force an update:

$ go get -v github.com/aclements/perflock/cmd/perflock 
github.com/aclements/perflock (download)
github.com/aclements/perflock/internal/cpupower
github.com/aclements/perflock/cmd/perflock
$ go get -v github.com/aclements/perflock/cmd/perflock 
$ go get -v github.com/aclements/perflock/cmd/perflock 
$ go get -v -u github.com/aclements/perflock/cmd/perflock 
github.com/aclements/perflock (download)
$ go get -v -u github.com/aclements/perflock/cmd/perflock 
github.com/aclements/perflock (download)
$ go get -v github.com/aclements/perflock/cmd/perflock 
$ go get -v github.com/aclements/perflock/cmd/perflock 
$ 

Tags:

Go