Skip to content
This repository has been archived by the owner on May 9, 2021. It is now read-only.

Error to install golint #213

Closed
yeasy opened this issue May 25, 2016 · 2 comments
Closed

Error to install golint #213

yeasy opened this issue May 25, 2016 · 2 comments

Comments

@yeasy
Copy link

yeasy commented May 25, 2016

The error happens when install with

$ go get -u github.com/golang/lint/golint
package golang.org/x/tools/go/gcimporter15: /Go/src/golang.org/x/tools exists but /Go/src/golang.org/x/tools/.git does not - stale checkout?

My go version is

$ go version                                                                                                                         
go version go1.6 darwin/amd64

Any help? Thanks!

@dsymonds
Copy link
Contributor

Looks like your GOPATH is busted. Try deleting /Go/src/golang.org/x/tools and starting again.

@yeasy
Copy link
Author

yeasy commented May 26, 2016

@dsymonds
That works, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants