1
0
mirror of https://github.com/beego/bee.git synced 2024-11-21 23:50:54 +00:00

Merge pull request #724 from flycash/develop

Bee new using v2.0 beego
This commit is contained in:
Ming Deng 2020-10-09 22:42:03 +08:00 committed by GitHub
commit f5665162f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -27,7 +27,7 @@ import (
const confVer = 0
const (
Version = "1.12.0"
Version = "2.0.0"
GitRemotePath = "github.com/beego/bee"
)