Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListPollReq ¶
type ListPollRes ¶
type Poll ¶
type Poll struct { PollUuid string `json:"poll_uuid" bson:"pollUuid, omitempty"` Title string `json:"title" bson:"title, omitempty"` Options []string `json:"options" bson:"options, omitempty"` OptionsCount []uint32 `json:"options_count" bson:"optionsCount, omitempty"` Content string `json:"content" bson:"content, omitempty"` PollType string `json:"poll_type" bson:"pollType, omitempty"` UserName string `json:"username" bson:"userName, omitempty"` CommentList []commentModels.Comment `json:"comment_list" bson:"commentList, omitempty"` VoteList []voteModels.Vote `json:"vote_list" bson:"voteList, omitempty"` CreateAt time.Time `json:"create_at" bson:"createAt, omitempty"` }
Click to show internal directories.
Click to hide internal directories.