Moving code away from conf package.
This is necessary, as the conf package will hold only configuration, and cannot have dependencies on other packages
This commit is contained in:
+3
-2
@@ -2,11 +2,12 @@ package api_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/astaxie/beego"
|
||||
_ "github.com/deluan/gosonic/conf"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"strings"
|
||||
|
||||
"github.com/astaxie/beego"
|
||||
_ "github.com/deluan/gosonic/init"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user