🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Moved router to conf package
Deluan4efb8ab031a4
diff --git a/api/api_test.go b/api/api_test.goindex 1d7d45af6..d6f8cf67c 100644--- a/api/api_test.go+++ b/api/api_test.go@@ -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 (diff --git a/routers/router.go b/conf/router.gosimilarity index 98%rename from routers/router.gorename to conf/router.goindex 80becc1b3..65cad19ad 100644--- a/routers/router.go+++ b/conf/router.go@@ -1,4 +1,4 @@-package routers+package confimport ("github.com/deluan/gosonic/api"diff --git a/controllers/main_test.go b/controllers/main_test.goindex d7ff03e11..af7f77e45 100644--- a/controllers/main_test.go+++ b/controllers/main_test.go@@ -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) {diff --git a/main.go b/main.goindex ba007e2da..9b6ecf5fe 100644--- a/main.go+++ b/main.go@@ -1,7 +1,7 @@package mainimport (- _ "github.com/deluan/gosonic/routers"+ _ "github.com/deluan/gosonic/conf""github.com/astaxie/beego")