Documentation
¶
Index ¶
- func WilsonSum(sum, num int64) int64
- type Rate
- func (r Rate) Create(Db *gorp.DbMap, itemType int64, itemId int64) Rate
- func (r Rate) GetRate(Db *gorp.DbMap, itemType int64, itemId int64) Rate
- func (r Rate) GetRateById(Db *gorp.DbMap, id int64) Rate
- func (r Rate) GetVotes(Db *gorp.DbMap) []Vote
- func (r Rate) String() string
- func (r Rate) Vote(Db *gorp.DbMap, v string, u int64) (Rate, error)
- type Vote
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.