Documentation ¶ Index ¶ Variables func DataBaseConnection() type Movie Constants ¶ This section is empty. Variables ¶ View Source var DB *gorm.DB Functions ¶ func DataBaseConnection ¶ func DataBaseConnection() Types ¶ type Movie ¶ type Movie struct { ID string `gorm:"primary_key"` Title string Genre string CreateAt time.Time `gorm:"autoCreateTime:false"` UpdateAt time.Time `gorm:"autoUpdateTime:false"` } Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.