I am starting playing with golang. I am using QuickTemplate to generate HTML pages. QuickTemplate makes use of the //go:generate directive to generate go source that then are compiled.
As I understand it go generate starts the command before the real go build job is done.
Mymain go file has a //go:generate directive to start qtc (quick template compiler). Sadly it is not starting the qtc command rsulting in a “no go files” errors.
go version is Win10 go version go1.12.3 windows/amd64.
When starting qtc by hand and then go build it works fine.
Am I missing something ?
Thanks for your help.