Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentRepository ¶
type CommentRepository interface { SaveComment(ctx context.Context, comment *models.Comment) error GetCommentsByVideoID(ctx context.Context, videoID string) ([]models.Comment, error) }
func NewCommentRepository ¶
func NewCommentRepository(db *firestore.Client) CommentRepository
type LikeRepository ¶
type LikeRepository interface { SaveLike(ctx context.Context, like *models.Like) error GetLikesByVideoID(ctx context.Context, videoID string) ([]models.Like, error) }
func NewLikeRepository ¶
func NewLikeRepository(db *firestore.Client) LikeRepository
Click to show internal directories.
Click to hide internal directories.