It must have been a configuration issue on the remote server because it all
works fine now.
On Wednesday, 17 October 2018 22:05:48 UTC+1, Sam Whited wrote:
>
> TL;DR — you don't need to run the second command, just the first one.
>
> I'm sorry for being unclear. Go get looks up packages by their
TL;DR — you don't need to run the second command, just the first one.
I'm sorry for being unclear. Go get looks up packages by their import path. The
import path of golint is "golang.org/x/lint/golint", so the second command you
ran with the github URL will never work since that is the repo, not
Why do you think the first command (at golang.org) failed? Looks like
everything worked to me.
On Wednesday, October 17, 2018 at 3:48:05 PM UTC-4, kalekold wrote:
>
> I've already tried that and the original command still fails.
>
> $ go get -u -v golang.org/x/lint/golint
> Fetching https://golan
I've already tried that and the original command still fails.
$ go get -u -v golang.org/x/lint/golint
Fetching https://golang.org/x/lint/golint?go-get=1
Parsing meta tags from https://golang.org/x/lint/golint?go-get=1 (status
code 200)
get "golang.org/x/lint/golint": found meta tag get.metaImport
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, gary.willoug...@victoriaplumb.com wrote:
> I'm having trouble installing golint. Any idea what the problem could be?
>
> $ go get -u -v github.com/golang/l
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/