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:
Deluan
2016-03-29 18:27:14 -04:00
parent 2dfa05ceb6
commit 9049d97820
8 changed files with 21 additions and 16 deletions
+5 -4
View File
@@ -2,13 +2,14 @@ package controllers_test
import (
"fmt"
"github.com/astaxie/beego"
_ "github.com/deluan/gosonic/conf"
"github.com/deluan/gosonic/tests"
. "github.com/smartystreets/goconvey/convey"
"net/http"
"net/http/httptest"
"testing"
"github.com/astaxie/beego"
_ "github.com/deluan/gosonic/init"
"github.com/deluan/gosonic/tests"
. "github.com/smartystreets/goconvey/convey"
)
func TestErrorHandler(t *testing.T) {