Moved router to conf package
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import (
|
|||||||
"github.com/astaxie/beego"
|
"github.com/astaxie/beego"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
_ "github.com/deluan/gosonic/routers"
|
_ "github.com/deluan/gosonic/conf"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package routers
|
package conf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/deluan/gosonic/api"
|
"github.com/deluan/gosonic/api"
|
||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"github.com/astaxie/beego"
|
"github.com/astaxie/beego"
|
||||||
"fmt"
|
"fmt"
|
||||||
_ "github.com/deluan/gosonic/routers"
|
_ "github.com/deluan/gosonic/conf"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestErrorHandler(t *testing.T) {
|
func TestErrorHandler(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user