mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Rename app
package to nativeapi
This commit is contained in:
parent
03efc48137
commit
d54129ecd2
9 changed files with 68 additions and 58 deletions
|
@ -11,15 +11,15 @@ import (
|
|||
"github.com/navidrome/navidrome/scanner"
|
||||
"github.com/navidrome/navidrome/scheduler"
|
||||
"github.com/navidrome/navidrome/server"
|
||||
"github.com/navidrome/navidrome/server/app"
|
||||
"github.com/navidrome/navidrome/server/events"
|
||||
"github.com/navidrome/navidrome/server/nativeapi"
|
||||
"github.com/navidrome/navidrome/server/subsonic"
|
||||
)
|
||||
|
||||
var allProviders = wire.NewSet(
|
||||
core.Set,
|
||||
subsonic.New,
|
||||
app.New,
|
||||
nativeapi.New,
|
||||
persistence.New,
|
||||
GetBroker,
|
||||
)
|
||||
|
@ -31,7 +31,7 @@ func CreateServer(musicFolder string) *server.Server {
|
|||
))
|
||||
}
|
||||
|
||||
func CreateAppRouter() *app.Router {
|
||||
func CreateNativeAPIRouter() *nativeapi.Router {
|
||||
panic(wire.Build(
|
||||
allProviders,
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue