fix(change model template file type): All model template variables ar… (#2573)
* fix(change model template file type): All model template variables are stored in tpl format files with the same name as the template generated using the template init command * fix(change model template file type): All model template variables are stored in tpl format files with the same name as the template generated using the template init command Co-authored-by: qilvge <qilvge@.qilvge.com> Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
This commit is contained in:
3
tools/goctl/model/sql/template/tpl/table-name.tpl
Normal file
3
tools/goctl/model/sql/template/tpl/table-name.tpl
Normal file
@@ -0,0 +1,3 @@
|
||||
func (m *default{{.upperStartCamelObject}}Model) tableName() string {
|
||||
return m.table
|
||||
}
|
||||
Reference in New Issue
Block a user