(req *comment.BloomblogCommentListRequest, fromID int64)
| 16 | } |
| 17 | |
| 18 | func (s *CommentListService) CommentList(req *comment.BloomblogCommentListRequest, fromID int64) ([]*comment.Comment, error) { |
| 19 | Comments, err := db.GetPostComments(s.ctx, req.PostId) |
| 20 | if err != nil { |
| 21 | return nil, err |
| 22 | } |
| 23 | comments, err := pack.Comments(s.ctx, Comments, fromID) |
| 24 | if err != nil { |
| 25 | return nil, err |
| 26 | } |
| 27 | return comments, nil |
| 28 | } |
nothing calls this directly
no test coverage detected