Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnTemplate ¶
type DaoTemplate ¶
func (*DaoTemplate) Gen ¶
func (dt *DaoTemplate) Gen() ([]byte, error)
type MysqlDao ¶
type TableTemplate ¶
type TableTemplate struct { TableName string TableNameLower string DBTableName string FuncParamName string Flag string Pkgs map[string]Pkg Columns []ColumnTemplate PkgName string WithJsonFlag bool }
func NewTableTemplate ¶
func NewTableTemplate(table *Table) *TableTemplate
func (*TableTemplate) Gen ¶
func (tt *TableTemplate) Gen() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.