As the error says, you need to use golang.org/x/lint/golint:
go get -u -v golang.org/x/lint/golint
—Sam
On Wed, Oct 17, 2018, at 10:12, [email protected] wrote:
> I'm having trouble installing golint. Any idea what the problem could be?
>
> $ go get -u -v github.com/golang/lint/golint
> github.com/golang/lint (download)
> package github.com/golang/lint/golint: code in directory /home/gary/Code/go/
> src/github.com/golang/lint/golint expects import "golang.org/x/lint/golint"
>
> --
> You received this message because you are subscribed to the Google
> Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
Sam Whited
[email protected]
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.