Fixed scopelint complaints

This commit is contained in:
2019-06-07 10:38:14 +09:00
parent 656645b4d0
commit a3f04fbd2f
3 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ func main() {
for _, characters := range malIDToCharacters {
if len(characters) > 1 {
// nolint:scopelint
sort.Slice(characters, func(i, j int) bool {
return len(characters[i].Likes) > len(characters[j].Likes)
})