Upgrade Go to 1.23 (#3190)

* Upgrade to Golang 1.23rc1

* Fix imports

* Go 1.23 final version

* Fix lint compatibility with ci-goreleaser
This commit is contained in:
Deluan Quintão
2024-08-19 17:47:54 -04:00
committed by GitHub
parent 0c33523f45
commit c4bd0e67fa
6 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ func (pd *Queue) getMediaFileIndexByID(id string) (int, error) {
return idx, nil
}
}
return -1, fmt.Errorf("ID not found in playlist: " + id)
return -1, fmt.Errorf("ID not found in playlist: %s", id)
}
// Sets the index to a new, valid value inside the Items. Values lower than zero are going to be zero,