Better comment for averageScore

This commit is contained in:
Jarmo Riikonen 2018-07-03 15:46:32 +03:00
parent 9c80f8dd7e
commit a45b259839

View File

@ -45,7 +45,7 @@ func containsLowerCase(array []string, search string) bool {
return false return false
} }
// Counts users average score in genre // Counts users average score for selected 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