[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]$
[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]$