From c3eeb6a50336d6facff6010b23e8b6ed7f2f941f Mon Sep 17 00:00:00 2001 From: LingSung Date: Wed, 16 Mar 2022 15:31:05 +0800 Subject: [PATCH] revise not cacheable comments --- modules/comment/dao/comment_redis.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/comment/dao/comment_redis.go b/modules/comment/dao/comment_redis.go index 670a50f..e36ffda 100644 --- a/modules/comment/dao/comment_redis.go +++ b/modules/comment/dao/comment_redis.go @@ -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 }