See: go generate design
The powershell script is a bit of a fly in the ointment for this project as it requires any dev to know powershell pretty well in order to update the generators. These 2 skill sets are not particularly correlated, so code generation should be done in the Golang domain
This is not really that important, but would be a good task to work on to learn another aspect of Go development.
For a code generation reference, see: go-i18n codegen
Template resources:
Tasks:
To help in viewing template files (*.tmpl), set the language of these files to go, set in vscode settings (this sets the colour highlighting according to go and also sets the file icon type):
"files.associations": {
"**/*.tmpl": "go"
}
See: go generate design
The powershell script is a bit of a fly in the ointment for this project as it requires any dev to know powershell pretty well in order to update the generators. These 2 skill sets are not particularly correlated, so code generation should be done in the Golang domain
This is not really that important, but would be a good task to work on to learn another aspect of Go development.
For a code generation reference, see: go-i18n codegen
Template resources:
Tasks:
To help in viewing template files (*.tmpl), set the language of these files to go, set in vscode settings (this sets the colour highlighting according to go and also sets the file icon type):