dm/ud
1
0
forked from sm/ud

Compare commits

..

2 Commits

Author SHA1 Message Date
sm
ff42c74ad3 Merge branch 'golintFix' of dm/ud into master 2016-02-14 10:35:38 -08:00
15e6851740 added comment for exported type to pass golint
Running goling on project causes it to have an error.  Added comment to
fix it.
2016-02-13 23:50:09 -08:00

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 {