Hi,all, I am new to Go, I don’t know what’s wrong with my golint,thanks in advance.
Did you add $GOPATH to your $PATH?
in that picture,
My gopath has already been set to
GOPATH=C::Uswers\dukez\Documents\GitHub\go
not working:(
Ok, but did you add $GOPATH to $PATH?
EDIT:
To clarify, if you run echo $PATH
, does the output include the path C:\:Uswers\dukez\Documents\GitHub\go
?
If not, then either append your GOPATH to $PATH, or call the binary as $GOPATH/bin/golint
.
Thanks a lot, problem solved:)
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.