Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssumeImport ¶
Types ¶
type Generator ¶
type Relation ¶
type Relation struct { // another table name TableName string // this entity's field name FieldName string // another table entity type FieldType string // another table column names ColumnNames []string // this table columns ForeignKeys []*RelationalColumn // another table columns References []*RelationalColumn }
Relation represents another table relation information.
type RelationalColumn ¶
type Type ¶
type Type struct { PkgPath string PkgName string Qualifiers []TypeQualifier Name string }
func (*Type) TypeString ¶
type TypeQualifier ¶
type TypeQualifier string
const ( Ptr TypeQualifier = "*" Array TypeQualifier = "[]" )
Click to show internal directories.
Click to hide internal directories.