package commentservicelogic import ( "context" "app-cloudep-feed-service/gen_result/pb/tweeting" "app-cloudep-feed-service/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type CountLikeLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewCountLikeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CountLikeLogic { return &CountLikeLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // CountLike 取得讚/不讚評論數量 func (l *CountLikeLogic) CountLike(in *tweeting.LikeCountReq) (*tweeting.LikeCountResp, error) { // todo: add your logic here and delete this line return &tweeting.LikeCountResp{}, nil }