You are probably doing `go run main.go`. You need ...
# golang
z
You are probably doing
go run main.go
. You need to provide the socket path and query arguments, something like
go run main.go /var/osquery.em 'select * from time
.
b
you are right. Thank you so much @zwass
🍻 1
Is there a way to run this from code. I mean, not to run the query as a commad line argument
z
Sure, modify the code
b
Ok thanks