Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ColumnInfo ¶
type TableInfo ¶
type TableInfo struct { StructName string TableName string Columns []*ColumnInfo PrimaryKeys []*ColumnInfo NotPrimaryKeys []*ColumnInfo HasOneTagsKeys []string HasOneTags map[string][]*ColumnInfo HasManyTagsKeys []string HasManyTags map[string][]*ColumnInfo }
func BuildTableInfo ¶
func BuildTableInfo(ctx context.Context, structSource *source.StructSource) *TableInfo
Source Files
¶
Click to show internal directories.
Click to hide internal directories.