Fixed a few linter hints
This commit is contained in:
@ -6,8 +6,8 @@ import (
|
||||
"github.com/animenotifier/notify.moe/utils/animediff"
|
||||
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/notify.moe/arn"
|
||||
"github.com/animenotifier/mal"
|
||||
"github.com/animenotifier/notify.moe/arn"
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
"github.com/animenotifier/notify.moe/utils"
|
||||
)
|
||||
@ -122,7 +122,8 @@ func compare(animes []*arn.Anime) []*utils.MALComparison {
|
||||
|
||||
// diff returns all the differences between an anime and its MAL counterpart.
|
||||
func diff(anime *arn.Anime, malAnime *mal.Anime) []animediff.Difference {
|
||||
// nolint (prealloc linter would complain, but this is best left as nil by default)
|
||||
// Prealloc linter would complain, but this is best left as nil by default.
|
||||
// nolint:prealloc
|
||||
var differences []animediff.Difference
|
||||
|
||||
// We'll use the following diffs
|
||||
|
Reference in New Issue
Block a user