run gofumpt / format comments / comment blocks

This commit is contained in:
sentriz
2020-03-12 15:17:36 +00:00
parent fae804ed5c
commit 3a8e5b9205
15 changed files with 43 additions and 89 deletions

View File

@@ -75,8 +75,8 @@ func NewArtistByTags(a *db.Artist) *Artist {
func NewGenre(g *db.Genre) *Genre {
return &Genre{
Name: g.Name,
Name: g.Name,
AlbumCount: g.AlbumCount,
SongCount: g.TrackCount,
SongCount: g.TrackCount,
}
}

View File

@@ -63,7 +63,6 @@ func NewResponse() *Response {
// 50 user is not authorized for the given operation
// 60 the trial period for the subsonic server is over
// 70 the requested data was not found
type Error struct {
Code int `xml:"code,attr" json:"code"`
Message string `xml:"message,attr" json:"message"`