https://github.com/osquery/osquery logo
#kolide
Title
# kolide
c

Chris Broome

06/04/2019, 5:44 PM
specifically, there are
go vet
errors with reuse of struct tags, but running
go test ./...
works fine
z

zwass

06/04/2019, 5:46 PM
I'm not getting that. What Go version are you on?
c

Chris Broome

06/04/2019, 5:59 PM
sorry just saw your reply. I’m on 1.12
z

zwass

06/04/2019, 6:12 PM
This is a bit baffling to me. It works for me locally with 1.12.5 and it works on CI.
c

Chris Broome

06/04/2019, 6:14 PM
hrm…
if it helps,
go version
prints out
go version go1.12 darwin/amd64
, though I’m not sure which patch release I’m running
I think I’m not on 1.12.5 - looks like the embedded struct tag thing was fixed in https://github.com/golang/go/issues/30465
yep that was definitely the issue. just downloaded
1.12.5
and it’s now working
z

zwass

06/04/2019, 6:39 PM
Nice, glad you got it sorted.
c

Chris Broome

06/04/2019, 6:41 PM
yeah same here. I probably should have upgraded sooner lol
3 Views