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

Where did golint go? #397

Closed
technoweenie opened this issue Apr 23, 2018 · 24 comments · Fixed by sensu/sensu-go#1366
Closed

Where did golint go? #397

technoweenie opened this issue Apr 23, 2018 · 24 comments · Fixed by sensu/sensu-go#1366

Comments

@technoweenie
Copy link

$ go get -u golang.org/x/lint/golint
package golang.org/x/lint/golint: unrecognized import path "golang.org/x/lint/golint" (parse https://golang.org/x/lint/golint?go-get=1: no go-import meta tags ())

Seeing this locally and from our ci server.

@holladay-io
Copy link

holladay-io commented Apr 23, 2018

With additional verbosity:

go get -v -u 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 404)
package golang.org/x/lint/golint: unrecognized import path "golang.org/x/lint/golint" (parse https://golang.org/x/lint/golint?go-get=1: no go-import meta tags ())

I believe it's related to https://golang.org/x/lint/golint returning 404 at the moment.

@holladay-io
Copy link

holladay-io commented Apr 23, 2018

I was able to work around this issue by cloning the repository manually:

mkdir -p $GOPATH/src/golang.org/x \
  && git clone https://github.com/golang/lint.git $GOPATH/src/golang.org/x/lint \
  && go get -u golang.org/x/lint/golint

@dseevr
Copy link

dseevr commented Apr 24, 2018

Consider adding --depth 1 on that git clone command, too. Shallow clone is sufficient to get around the issue

carolynvs pushed a commit to carolynvs/service-catalog that referenced this issue Apr 24, 2018
golint is not returning the metadata required by go get at the moment
and it's causing our build to fail. This installs golint without go get
until it's fixed.

golang/lint#397
carolynvs pushed a commit to carolynvs/service-catalog that referenced this issue Apr 24, 2018
golint is not returning the metadata required by go get at the moment
and it's causing our build to fail. This installs golint without go get
until it's fixed.

golang/lint#397
wtks added a commit to traPtitech/traQ that referenced this issue Apr 24, 2018
sgnn7 added a commit to cyberark/secretless-broker that referenced this issue Aug 22, 2018
Upstream published go module for golint had issues and since we don't
want to hardcode this in the go.mod file, we now specify the override in
the style_checker itself.

golang/lint#397
sgnn7 added a commit to cyberark/secretless-broker that referenced this issue Aug 22, 2018
Upstream published go module for golint had issues and since we don't
want to hardcode this in the go.mod file, we now specify the override in
the style_checker itself.

golang/lint#397
sgnn7 added a commit to cyberark/secretless-broker that referenced this issue Aug 23, 2018
Upstream published go module for golint had issues and since we don't
want to hardcode this in the go.mod file, we now specify the override in
the style_checker itself.

golang/lint#397
sgnn7 added a commit to cyberark/secretless-broker that referenced this issue Aug 27, 2018
Upstream published go module for golint had issues and since we don't
want to hardcode this in the go.mod file, we now specify the override in
the style_checker itself.

golang/lint#397
@mvpmvh
Copy link

mvpmvh commented Oct 14, 2018

I didn't fully understand the thread. This issue is closed. Is the "solution" to do a manual git clone now? Is there no more go get for this dependency?

@dmitshur
Copy link
Contributor

@mvpmvh The issue is closed because it has been resolved. You can install golint via go get -u golang.org/x/lint/golint, as described in the README.

If there’s a new problem, please open a new issue.

rfranzke added a commit to gardener/gardener that referenced this issue Oct 14, 2018
lewismarshall pushed a commit to UKHomeOffice/kd that referenced this issue Oct 15, 2018
lewismarshall pushed a commit to UKHomeOffice/kd that referenced this issue Oct 15, 2018
rfranzke added a commit to gardener/gardener that referenced this issue Oct 17, 2018
rustycl0ck pushed a commit to rustycl0ck/ansible-role-k8s-devkit that referenced this issue Oct 17, 2018
kashav added a commit to kashav/fsql that referenced this issue Oct 20, 2018
richardyuwen pushed a commit to richardyuwen/gardener that referenced this issue Mar 26, 2019
sschuberth added a commit to package-url/packageurl-go that referenced this issue Aug 27, 2019
As reported by the error in the CI build. Also see

golang/lint#397

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
sschuberth added a commit to package-url/packageurl-go that referenced this issue Aug 27, 2019
As reported by the error in the CI build. Also see

golang/lint#397

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
ashcrow pushed a commit to package-url/packageurl-go that referenced this issue Aug 28, 2019
As reported by the error in the CI build. Also see

golang/lint#397

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
joshbetz added a commit to joshbetz/config that referenced this issue Aug 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.