Documentation
¶
Index ¶
- func BuildcommentActionResp(err error, comment *CommentServer.Comment) *CommentServer.DouyinCommentActionResponse
- func BuildgetCommentListResp(err error, users []*CommentServer.Comment) *CommentServer.DouyinCommentListResponse
- func CommentActionResp(err errno.ErrNo, comment *CommentServer.Comment) *CommentServer.DouyinCommentActionResponse
- func CommentInfoConvert(u *UserServer.User, v *db.Comment) *CommentServer.Comment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildcommentActionResp ¶
func BuildcommentActionResp(err error, comment *CommentServer.Comment) *CommentServer.DouyinCommentActionResponse
报文的封装过程
func BuildgetCommentListResp ¶
func BuildgetCommentListResp(err error, users []*CommentServer.Comment) *CommentServer.DouyinCommentListResponse
func CommentActionResp ¶
func CommentActionResp(err errno.ErrNo, comment *CommentServer.Comment) *CommentServer.DouyinCommentActionResponse
func CommentInfoConvert ¶
func CommentInfoConvert(u *UserServer.User, v *db.Comment) *CommentServer.Comment
拼接用户信息--将UserServer.User插入CommentServer.Comment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.