feat: use go:embed to embed templates (#1756)
This commit is contained in:
9
tools/goctl/api/javagen/bool.tpl
Normal file
9
tools/goctl/api/javagen/bool.tpl
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
{{.indent}}{{.decorator}}
|
||||
{{.indent}}public {{.returnType}} is{{.property}}() {
|
||||
{{.indent}} return this.{{.tagValue}};
|
||||
{{.indent}}}
|
||||
|
||||
{{.indent}}public void set{{.property}}({{.type}} {{.propertyValue}}) {
|
||||
{{.indent}} this.{{.tagValue}} = {{.propertyValue}};
|
||||
{{.indent}}}
|
||||
Reference in New Issue
Block a user