Skip to content

Commit

Permalink
revise not cacheable comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zero1777 authored and alice890308 committed Mar 5, 2024
1 parent 68e627f commit c3eeb6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/comment/dao/comment_redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ func (dao *redisCommentDAO) Create(ctx context.Context, comment *Comment) (uuid.
// Redis TODO
}

// The following operations are not cacheable, just pass down to baseDAO
// The operation are not cacheable, just pass down to baseDAO
func (dao *redisCommentDAO) Update(ctx context.Context, comment *Comment) error {
// Redis TODO
}

// The following operations are not cacheable, just pass down to baseDAO
// The operation are not cacheable, just pass down to baseDAO
func (dao *redisCommentDAO) Delete(ctx context.Context, id uuid.UUID) error {
// Redis TODO
}

// The following operations are not cacheable, just pass down to baseDAO
// The operation are not cacheable, just pass down to baseDAO
func (dao *redisCommentDAO) DeleteByVideoID(ctx context.Context, videoID string) error {
// Redis TODO
}

0 comments on commit c3eeb6a

Please sign in to comment.