Closed mykelalvis closed 7 years ago
go get -u github.com/alecthomas/gometalinter
This merely installs gometalinter in $GOPATH/bin
(assuming $GOPATH has only one directory), it doesn't add it to the PATH automatically by itself.
with GOPATH: /Users/malvis/go/src/github.com/mykelalvis/hello
BTW, this seems wrong, it looks like you have a Go workspace inside another Go workspace? It looks like GOPATH should be set to /Users/malvis/go
On a clean installation of GoClipse
0.16.1.v201607061938
on OSXMy project has a
lint
target which states the following when executed:I installed
gometalinter
(which does not appear to be detailed in the external tools install docs) (PR #233).Running the
lint
target still results inCannot run program
When I change the lint target from
gometalinter -t ./...
to${env_var:HOME}/go/bin/gometalinter -t ./...
the following output is in the consoleInstalling all the aforementioned linters:
results in
This appears to be some issue with the
PATH
of the executor ofgometalinter
.This might be "as-expected", but it did not operate as I assumed it would.