chore(deps)!: bump to go1.25

fixes #594

Release-As: 0.18.0
This commit is contained in:
sentriz
2025-09-06 23:38:04 +01:00
parent db97bc753e
commit 1bf4a5b0c1
18 changed files with 45 additions and 63 deletions

No files matched your search

+3 -3
View File
@@ -102,7 +102,7 @@ type Error struct {
Message string `xml:"message,attr" json:"message"`
}
func NewError(code int, message string, a ...interface{}) *Response {
func NewError(code int, message string, a ...any) *Response {
r := NewResponse()
r.Status = "failed"
r.Error = &Error{
@@ -128,7 +128,7 @@ type GenreRef struct {
// https://opensubsonic.netlify.app/docs/responses/albumid3/
type Album struct {
ID *specid.ID `xml:"id,attr,omitempty" json:"id"`
Created time.Time `xml:"created,attr,omitempty" json:"created,omitempty"`
Created time.Time `xml:"created,attr,omitempty" json:"created"`
// legacy or single tag mode
ArtistID *specid.ID `xml:"artistId,attr,omitempty" json:"artistId,omitempty"`
@@ -201,7 +201,7 @@ type TrackChild struct {
Bitrate int `xml:"bitRate,attr,omitempty" json:"bitRate,omitempty"`
ContentType string `xml:"contentType,attr,omitempty" json:"contentType,omitempty"`
CoverID *specid.ID `xml:"coverArt,attr,omitempty" json:"coverArt,omitempty"`
CreatedAt time.Time `xml:"created,attr,omitempty" json:"created,omitempty"`
CreatedAt time.Time `xml:"created,attr,omitempty" json:"created"`
Duration int `xml:"duration,attr,omitempty" json:"duration,omitempty"`
Genre string `xml:"genre,attr,omitempty" json:"genre,omitempty"`
Genres []*GenreRef `xml:"genres,omitempty" json:"genres,omitempty"`