dm/ud
1
0
forked from sm/ud

Merge branch 'golintFix' of dm/ud into master

This commit is contained in:
Stephen McQuay 2016-02-14 10:35:38 -08:00 committed by Gogs
commit ff42c74ad3

View File

@ -36,6 +36,7 @@ type result struct {
Down int `json:"thumbs_down"` Down int `json:"thumbs_down"`
} }
// ByVotes aids in sorting result based on votes
type ByVotes []result type ByVotes []result
func (bv ByVotes) Len() int { func (bv ByVotes) Len() int {