diff --git a/apiapp.go b/apiapp.go index 1fc68e2..7b9d86d 100644 --- a/apiapp.go +++ b/apiapp.go @@ -208,6 +208,8 @@ import ( "net/http" "net/http/httptest" "testing" + "runtime" + "path/filepath" _ "{{.Appname}}/routers" "github.com/astaxie/beego" diff --git a/new.go b/new.go index ece78ac..dd616c2 100644 --- a/new.go +++ b/new.go @@ -176,6 +176,8 @@ import ( "net/http" "net/http/httptest" "testing" + "runtime" + "path/filepath" _ "{{.Appname}}/routers" "github.com/astaxie/beego"