This commit is contained in:
Deluan 2020-01-19 18:28:23 -05:00
parent 7610b42f4b
commit 5bc1551b09
5 changed files with 5 additions and 22 deletions

View file

@ -28,7 +28,7 @@ type Router struct {
mux http.Handler
}
func NewRouter(browser engine.Browser, cover engine.Cover, listGenerator engine.ListGenerator,
func New(browser engine.Browser, cover engine.Cover, listGenerator engine.ListGenerator,
playlists engine.Playlists, ratings engine.Ratings, scrobbler engine.Scrobbler, search engine.Search) *Router {
r := &Router{Browser: browser, Cover: cover, ListGenerator: listGenerator, Playlists: playlists,