mirror of https://github.com/rocboss/paopao-ce
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
684 B
28 lines
684 B
// Copyright 2023 ROC. All rights reserved.
|
|
// Use of this source code is governed by a MIT style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package cs
|
|
|
|
const (
|
|
StyleCommentDefault StyleCommentType = iota
|
|
StyleCommentHots
|
|
StyleCommentNewest
|
|
)
|
|
|
|
type StyleCommentType uint8
|
|
|
|
type CommentThumbs struct {
|
|
UserID int64 `json:"user_id"`
|
|
TweetID int64 `json:"tweet_id"`
|
|
CommentID int64 `json:"comment_id"`
|
|
ReplyID int64 `json:"reply_id"`
|
|
CommentType int8 `json:"comment_type"`
|
|
IsThumbsUp int8 `json:"is_thumbs_up"`
|
|
IsThumbsDown int8 `json:"is_thumbs_down"`
|
|
}
|
|
|
|
type CommentThumbsList []*CommentThumbs
|
|
|
|
type CommentThumbsMap map[int64]*CommentThumbs
|