Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feedback ¶
type Feedback struct { gorm.Model // 包含了ID, CreatedAt, UpdatedAt, DeletedAt Name string `form:"name" json:"Name"` Description string `form:"description" json:"Description" gorm:"type:text"` Email string `form:"email" json:"Email"` }
Feedback 反馈结构体 https://gorm.io/zh_CN/docs/models.html
type URL ¶
type URL struct { gorm.Model // 包含了ID, CreatedAt, UpdatedAt, DeletedAt Name string `form:"name" json:"Name"` Video string `form:"video" json:"Video"` Tag string `form:"tag" json:"Tag"` URL string `form:"url" json:"URL"` }
URL 资源结构体 https://gorm.io/zh_CN/docs/models.html
type User ¶
type User struct { gorm.Model // 包含了ID, CreatedAt, UpdatedAt, DeletedAt Username string `form:"username" json:"Username"` Email string `form:"email" json:"Email"` Phone string `form:"phone" json:"Phone"` Password string `form:"password" json:"Password"` Nickname string `form:"nickname" json:"Nickname"` Description string `form:"description" json:"Description" gorm:"type:text"` }
User 用户结构体 https://gorm.io/zh_CN/docs/models.html
type Version ¶
type Version struct { gorm.Model // 包含了ID, CreatedAt, UpdatedAt, DeletedAt Name string `form:"name" json:"Name"` Version string `form:"version" json:"Version"` Description string `form:"description" json:"Description" gorm:"type:text"` URL string `form:"url" json:"URL"` }
Version 版本结构体 https://gorm.io/zh_CN/docs/models.html
type Video ¶
type Video struct { gorm.Model // 包含了ID, CreatedAt, UpdatedAt, DeletedAt Name string `form:"name" json:"Name"` Category string `form:"category" json:"Category"` Type string `form:"type" json:"Type"` Area string `form:"area" json:"Area"` Year string `form:"year" json:"Year"` Actor string `form:"acotr" json:"Actor"` Director string `form:"director" json:"Director"` Status string `form:"status" json:"Status"` Description string `form:"description" json:"Description" gorm:"type:text"` URL string `form:"url" json:"URL"` }
Video 视频结构体 https://gorm.io/zh_CN/docs/models.html
Click to show internal directories.
Click to hide internal directories.