Moved router to conf package

This commit is contained in:
Deluan
2016-03-01 09:23:40 -05:00
parent 375fd30045
commit 4efb8ab031
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -1,4 +1,4 @@
package routers package conf
import ( import (
"github.com/deluan/gosonic/api" "github.com/deluan/gosonic/api"
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -1,7 +1,7 @@
package main package main
import ( import (
_ "github.com/deluan/gosonic/routers" _ "github.com/deluan/gosonic/conf"
"github.com/astaxie/beego" "github.com/astaxie/beego"
) )