mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Clean up
This commit is contained in:
parent
7610b42f4b
commit
5bc1551b09
5 changed files with 5 additions and 22 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue