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

Cannot use go get #417

Closed
vincentmrg opened this issue Oct 12, 2018 · 7 comments
Closed

Cannot use go get #417

vincentmrg opened this issue Oct 12, 2018 · 7 comments

Comments

@vincentmrg
Copy link

Hello

When I try to go get the project I got

$ go get -u github.com/golang/lint/golint
package github.com/golang/lint/golint: code in directory /go/src/github.com/golang/lint/golint expects import "golang.org/x/lint/golint"

It's probably due to commit 5906bd5

@Strawberryww
Copy link

@vincentmrg yes, I also found the same issue. @zchee, could you help resolve it? Thanks.

@dominikh
Copy link
Member

Use the correct path: https://github.com/golang/lint#installation

@zchee
Copy link
Contributor

zchee commented Oct 12, 2018

@vincentmrg @Strawberryww Hi,

I explain this.
The lint repository has been hosted on the golang.org/x/lint after the ead987a
It's a Go core maintainers plan. I don't know why switch to golang.org.

Anyway, this repository's actual import path is golang.org/x/lint, I was changed canonical import path with just respect this.
9a27203


/cc @ccojocar @bonifaido
You should change lint package import path to golang.org/x/lint.


@bradfitz Sorry for mention, Could you helped me?

@zchee
Copy link
Contributor

zchee commented Oct 12, 2018

@dominikh Thanks, your correct.

@vincentmrg
Copy link
Author

Nice, Thank you all

@Strawberryww
Copy link

@zchee, @dominikh , It worked, thank you!

@andybons
Copy link
Member

Duplicate of #415

@andybons andybons marked this as a duplicate of #415 Oct 12, 2018
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

5 participants