You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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]$
Activity
dominikh commentedon 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.