We have a generate.go file that is ignored by the build (// +build ignore). It's in the main package so it can be executed. However, it's in fact in the static folder, which gives it a warnnig in my IDE.
Not sure how go generate commands should look. Need to look for best practices.