first commit
This commit is contained in:
6
internal/codegen/templates/enum.tmpl
Normal file
6
internal/codegen/templates/enum.tmpl
Normal file
@ -0,0 +1,6 @@
|
||||
type {{.Name}} {{.Type}}
|
||||
const Signature{{.Name}} string = "{{.Signature}}"
|
||||
|
||||
const ({{range .Values}}
|
||||
{{.Name}} {{$.Name}} = {{.Value}}{{end}}
|
||||
)
|
Reference in New Issue
Block a user