Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make staticcheck fails #2

Open
jvinod opened this issue Apr 30, 2019 · 1 comment
Open

make staticcheck fails #2

jvinod opened this issue Apr 30, 2019 · 1 comment
Assignees

Comments

@jvinod
Copy link
Contributor

jvinod commented Apr 30, 2019

[ubuntu@ip-172-31-29-49 cloudops]$ make staticcheck
go get -u honnef.co/go/tools/cmd/staticcheck

honnef.co/go/tools/unused

../../../honnef.co/go/tools/unused/unused.go:1375:15: field.Embedded undefined (type *types.Var has no field or method Embedded)
../../../honnef.co/go/tools/unused/unused.go:1433:11: t.EmbeddedType undefined (type *types.Interface has no field or method EmbeddedType)
Makefile:49: recipe for target '/home/ubuntu/git/go/bin/staticcheck' failed
make: *** [/home/ubuntu/git/go/bin/staticcheck] Error 2
[ubuntu@ip-172-31-29-49 cloudops]$

@dominikh
Copy link

dominikh commented May 3, 2019

Staticcheck supports the last two versions of Go. Currently that is 1.11 and 1.12 – it will unfortunately not work with 1.10 or older.

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

No branches or pull requests

3 participants