dm
/
ud
forked from sm/ud
1
0
Fork 0

added comment for exported type to pass golint

Running goling on project causes it to have an error.  Added comment to
fix it.
This commit is contained in:
Derek McQuay 2016-02-13 23:50:09 -08:00
parent a42d628ffe
commit 15e6851740
1 changed files with 1 additions and 0 deletions

View File

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