Documentation ¶
Index ¶
- Variables
- func CancelCommentByCommentID(ctx context.Context, commentID int64) error
- func CancelFavorite(ctx context.Context, userID int64, videoID int64) error
- func CreateComment(ctx context.Context, comment []*Comment) error
- func CreateFavorite(ctx context.Context, favorite []*Favorite) error
- func Init()
- type Comment
- type Favorite
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
Types ¶
type Comment ¶
func QueryCommentByVideoID ¶
type Favorite ¶
func QueryFavoriteByUserID ¶
func QueryFavoriteByVideoID ¶
Click to show internal directories.
Click to hide internal directories.