fix: revert back to go 1.21 for nixpkgs
This commit is contained in:
parent
9fcbef4236
commit
1d16a0c2f1
2 changed files with 2 additions and 2 deletions
|
|
@ -198,7 +198,7 @@ func ListFavorites(ctx *context.AppContext) (favorites []components.FavoriteItem
|
||||||
|
|
||||||
sec := "playlist"
|
sec := "playlist"
|
||||||
numEntries := cfg.Section(sec).Key("NumberOfEntries").MustInt(0)
|
numEntries := cfg.Section(sec).Key("NumberOfEntries").MustInt(0)
|
||||||
for i := range numEntries {
|
for i := 0; i < numEntries; i++ {
|
||||||
// di.fm's PLS keys begin at 1
|
// di.fm's PLS keys begin at 1
|
||||||
k := i + 1
|
k := i + 1
|
||||||
favorites = append(favorites, components.FavoriteItem{
|
favorites = append(favorites, components.FavoriteItem{
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -1,6 +1,6 @@
|
||||||
module github.com/acaloiaro/di-tui
|
module github.com/acaloiaro/di-tui
|
||||||
|
|
||||||
go 1.22
|
go 1.21
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/gdamore/tcell/v2 v2.6.0
|
github.com/gdamore/tcell/v2 v2.6.0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue