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

@ -91,6 +91,7 @@ func Get(ctx aero.Context) error {
}
for i := 0; i < 7; i++ {
// nolint:scopelint
sort.Slice(days[i].Entries, func(a, b int) bool {
airingA := days[i].Entries[a].Episode.AiringDate.Start
airingB := days[i].Entries[b].Episode.AiringDate.Start