MCPcopy Create free account
hub / github.com/Agelessbaby/BloomBlog / SlCommentList

Function SlCommentList

cmd/api/rpc/comment.go:78–87  ·  view source on GitHub ↗
(ctx context.Context, req *comment.Bloomblog_SlCommentListRequest)

Source from the content-addressed store, hash-verified

76}
77
78func SlCommentList(ctx context.Context, req *comment.Bloomblog_SlCommentListRequest) (*comment.Bloomblog_SlCommentListResponse, error) {
79 resp, err := commentClient.SlCommentList(ctx, req)
80 if err != nil {
81 return nil, err
82 }
83 if resp.StatusCode != 0 {
84 return nil, errno.NewErrNo(int(resp.StatusCode), *resp.StatusMsg)
85 }
86 return resp, nil
87}

Callers 1

SlCommentListFunction · 0.92

Calls 2

NewErrNoFunction · 0.92
SlCommentListMethod · 0.65

Tested by

no test coverage detected