mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-25 02:08:44 +08:00
9 lines
196 B
Go
9 lines
196 B
Go
|
package template
|
||
|
|
||
|
// TableName defines a template that generate the tableName method.
|
||
|
const TableName = `
|
||
|
func (m *default{{.upperStartCamelObject}}Model) tableName() string {
|
||
|
return m.table
|
||
|
}
|
||
|
`
|