Implement field generation
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
---@class {{.ClassName}}
|
||||
{{range .Fields -}}
|
||||
---@field {{.Name}} {{.Type}} {{.Comment}}
|
||||
{{end -}}
|
||||
---@class {{.ClassName}}
|
||||
{{.ClassName}} = {
|
||||
{{$n := len .Methods -}}
|
||||
{{$methods := len .Methods -}}
|
||||
|
Reference in New Issue
Block a user