Documentation
¶
Overview ¶
Package gen/cmd allows to generate .go source files using the go:generate command. Use with "cmd [templateFile] [outputFile] [typeName] [typeReceiver] [Features separated by space]".
In the template the following are available: - typeName as {{.Name}} - typeReceiver as {{.Receiver}} - Features are available via map and can be evaluated as {{if index .Features "extended"}}
Click to show internal directories.
Click to hide internal directories.