Skip to content

Commit

Permalink
fix: revert back to go 1.21 for nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
acaloiaro committed Jan 1, 2025
1 parent 9fcbef4 commit 1d16a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion difm/difm.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func ListFavorites(ctx *context.AppContext) (favorites []components.FavoriteItem

sec := "playlist"
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
k := i + 1
favorites = append(favorites, components.FavoriteItem{
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/acaloiaro/di-tui

go 1.22
go 1.21

require (
github.com/gdamore/tcell/v2 v2.6.0
Expand Down

0 comments on commit 1d16a0c

Please sign in to comment.