mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-06 14:07:36 +03:00
Moved router to conf package
This commit is contained in:
parent
375fd30045
commit
4efb8ab031
4 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ import (
|
|||
"github.com/astaxie/beego"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
_ "github.com/deluan/gosonic/routers"
|
||||
_ "github.com/deluan/gosonic/conf"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package routers
|
||||
package conf
|
||||
|
||||
import (
|
||||
"github.com/deluan/gosonic/api"
|
|
@ -8,7 +8,7 @@ import (
|
|||
"net/http/httptest"
|
||||
"github.com/astaxie/beego"
|
||||
"fmt"
|
||||
_ "github.com/deluan/gosonic/routers"
|
||||
_ "github.com/deluan/gosonic/conf"
|
||||
)
|
||||
|
||||
func TestErrorHandler(t *testing.T) {
|
||||
|
|
2
main.go
2
main.go
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/deluan/gosonic/routers"
|
||||
_ "github.com/deluan/gosonic/conf"
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue