Changed averageScore comment
This commit is contained in:
parent
dd39a8bfd9
commit
eb3fda630f
@ -45,7 +45,7 @@ func containsLowerCase(array []string, search string) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// Counts users average score for selected animes
|
// averageScore counts the user's average score for the given animes.
|
||||||
func averageScore(user *arn.User, animes []*arn.Anime) float64 {
|
func averageScore(user *arn.User, animes []*arn.Anime) float64 {
|
||||||
if user == nil {
|
if user == nil {
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user