Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VoteMember ¶
type VoteMember post.VoteMember
func HasVoted ¶
func HasVoted(uID uint, postID uint, pvID uint) (VoteMember, error)
查询某个用户是否投票过某个post 的 vote
func (*VoteMember) Create ¶
func (vm *VoteMember) Create() error
func (*VoteMember) TableName ¶
func (p *VoteMember) TableName() string
Click to show internal directories.
Click to hide internal directories.