lastfm: rename scrobbleopts scrobbleoptions

This commit is contained in:
sentriz
2020-05-01 02:15:12 +01:00
parent 24212af42e
commit a541f97cd8
8 changed files with 18 additions and 12 deletions

View File

@@ -145,8 +145,10 @@ type Response struct {
err string
}
type handlerAdmin func(r *http.Request) *Response
type handlerAdminRaw func(w http.ResponseWriter, r *http.Request)
type (
handlerAdmin func(r *http.Request) *Response
handlerAdminRaw func(w http.ResponseWriter, r *http.Request)
)
//nolint:gocognit
func (c *Controller) H(h handlerAdmin) http.Handler {