Go supports special comments that invoke a generation script during builds. To support this with google-cloud-go-transaction-generator the tool needs to allow flags for an individual model. Keep the configuration yaml, the tool should be able to support both.
Example:
//go:generate gcgtg -model=foo -receiver=bar package=baz importpath=baz/foo modepackagename=zab
Go supports special comments that invoke a generation script during builds. To support this with google-cloud-go-transaction-generator the tool needs to allow flags for an individual model. Keep the configuration yaml, the tool should be able to support both.
Example:
//go:generate gcgtg -model=foo -receiver=bar package=baz importpath=baz/foo modepackagename=zab