libopenstorage / cloudops

Apache License 2.0
7 stars 13 forks source link

make staticcheck fails #2

Open jvinod opened 5 years ago

jvinod commented 5 years ago

[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 commented 5 years ago

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.