Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { // Go struct name GoName string // Sql table name TableName string // Primary key PK *PK // Sql columns Fields []*Field // Is model implement `Tabler` interface HasTableName bool // Is model implement `Columner` interface HasColumn bool }
func (Model) HasNotOnlyPK ¶
type ModelTmplParams ¶
type ModelTmplParams struct { // Models Models []*Model }
Click to show internal directories.
Click to hide internal directories.