Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Models []Model
Functions ¶
func DoMigration ¶
func GetMigrationScript ¶
Types ¶
type Model ¶
type Model struct {
Sample any `json:"sample"`
Value reflect.Value `json:"-"`
Type reflect.Type `json:"-"`
Kind reflect.Kind `json:"-"`
Table string `json:"table"`
Name string `json:"name"`
Package string `json:"package"`
PackagePath string `json:"package_path"`
PrimaryKey []string `json:"primary_key"`
Joins map[string][]string `json:"joins"`
Schema *schema.Schema `json:"-"`
Statement *gorm.Statement `json:"-"`
}
Click to show internal directories.
Click to hide internal directories.