{"modulePath":"github.com/answerdev/answer","version":"v1.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package comment_common\n\n## Types\n\n```go\ntype CommentCommonRepo interface {\n\tGetComment(ctx context.Context, commentID string) (comment *entity.Comment, exist bool, err error)\n\tGetCommentCount(ctx context.Context) (count int64, err error)\n\tRemoveAllUserComment(ctx context.Context, userID string) (err error)\n}\n```\nCommentCommonRepo comment repository\n\n```go\ntype CommentCommonService struct {\n\t// contains filtered or unexported fields\n}\n```\nCommentCommonService user service\n\n```go\nfunc NewCommentCommonService(\n\tcommentRepo CommentCommonRepo) *CommentCommonService\n```\nNewCommentCommonService new comment service\n\n```go\nfunc (cs *CommentCommonService) GetComment(ctx context.Context, commentID string) (resp *schema.GetCommentResp, err error)\n```\nGetComment get comment one\n\n","path":"github.com/answerdev/answer/internal/service/comment_common","name":"comment_common","synopsis":"","isRedistributable":true}
