bqexport is a
go:generate utility to generate Go structs based on BigQuery schema protobufs compatible with bqschemaupdater. These structs can then be used in combination with eventupload to send events to BigQuery.
bqexport --help. Don't have bqexport in your path? Try this inside the infra Go env.
go:generate line in
generate.go in your Go package alongside your generated file:
//go:generate go install infra/cmd/bqexport //go:generate bqexport -name MyStruct -path /path/to/tabledef.pb.txt