Documentation ¶
Index ¶
- Variables
- func CreateFavorite(ctx context.Context, favorite *model.Favorite) error
- func DeleteFavorite(ctx context.Context, userID int64, videoID int64) error
- func FilterFavorite(ctx context.Context, userID int64, videoID []int64) ([]*model.Favorite, error)
- func Init()
- func QueryFavorite(ctx context.Context, userID int64) ([]*model.Favorite, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
func FilterFavorite ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.