package
Version:
v0.0.0-...-7de97a6
Opens a new window with list of versions in this module.
Published: Mar 27, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Favorite struct {
gorm.Model
UserId int64 `json:"user_id" gorm:"not null;uniqueIndex:user_video"`
VideoId int64 `json:"video_id" gorm:"not null;uniqueIndex:user_video"`
Favorite int32 `json:"favorite"`
}
Favorite 表的结构。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.