package
Version:
v0.0.0-...-c5a0a8d
Opens a new window with list of versions in this module.
Published: Apr 4, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DBMigrate will create and migrate the tables, and then make the some relationships if necessary
type Employee struct {
gorm.Model
Name string `gorm:"unique" json:"name"`
City string `json:"city"`
Age int `json:"age"`
Status bool `json:"status"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.