feat(ci): update golangci-lint and action (#325)
* Update linter - Update Github golangci-lint-action to v3 - Update golangci-lint to v1.52.2 * Fix linter issues after updating to linter 1.52.2
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
"go.senan.xyz/gonic/server/ctrlsubsonic/spec"
|
||||
)
|
||||
|
||||
func (c *Controller) ServeGetInternetRadioStations(r *http.Request) *spec.Response {
|
||||
func (c *Controller) ServeGetInternetRadioStations(_ *http.Request) *spec.Response {
|
||||
var stations []*db.InternetRadioStation
|
||||
if err := c.DB.Find(&stations).Error; err != nil {
|
||||
return spec.NewError(0, "find stations: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user