1
0
mirror of https://github.com/beego/bee.git synced 2024-11-24 13:30:53 +00:00

Merge pull request #729 from flycash/develop

Fix beego module
This commit is contained in:
Ming Deng 2020-11-02 22:31:56 +08:00 committed by GitHub
commit 22b64e8157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ var maingo = `package main
import (
_ "{{.Appname}}/routers"
beego "github.com/astaxie/beego/pkg/server/web"
beego "github.com/astaxie/beego/server/web"
)
func main() {
@ -82,7 +82,7 @@ var router = `package routers
import (
"{{.Appname}}/controllers"
beego "github.com/astaxie/beego/pkg/server/web"
beego "github.com/astaxie/beego/server/web"
)
func init() {
@ -106,7 +106,7 @@ import (
"path/filepath"
_ "{{.Appname}}/routers"
beego "github.com/astaxie/beego/pkg/server/web"
beego "github.com/astaxie/beego/server/web"
. "github.com/smartystreets/goconvey/convey"
)
@ -140,7 +140,7 @@ func TestBeego(t *testing.T) {
var controllers = `package controllers
import (
beego "github.com/astaxie/beego/pkg/server/web"
beego "github.com/astaxie/beego/server/web"
)
type MainController struct {