Cleanup
This commit is contained in:
@ -7,7 +7,6 @@ import (
|
||||
"github.com/fatih/color"
|
||||
)
|
||||
|
||||
|
||||
const maxPopularAnime = 10
|
||||
|
||||
// Note this is using the airing-anime as a template with modfications
|
||||
@ -32,7 +31,7 @@ func main() {
|
||||
sort.Slice(animeList, func(i, j int) bool {
|
||||
return animeList[i].Rating.Overall > animeList[j].Rating.Overall
|
||||
})
|
||||
|
||||
|
||||
// Change size of anime list to 10
|
||||
animeList = animeList[:maxPopularAnime]
|
||||
|
||||
|
Reference in New Issue
Block a user