mirror of
https://github.com/beego/bee.git
synced 2024-11-22 05:00:54 +00:00
commit
f5665162f7
@ -70,7 +70,7 @@ var maingo = `package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
_ "{{.Appname}}/routers"
|
_ "{{.Appname}}/routers"
|
||||||
"github.com/astaxie/beego"
|
beego "github.com/astaxie/beego/pkg/server/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -82,7 +82,7 @@ var router = `package routers
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"{{.Appname}}/controllers"
|
"{{.Appname}}/controllers"
|
||||||
"github.com/astaxie/beego"
|
beego "github.com/astaxie/beego/pkg/server/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -106,7 +106,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
_ "{{.Appname}}/routers"
|
_ "{{.Appname}}/routers"
|
||||||
|
|
||||||
"github.com/astaxie/beego"
|
beego "github.com/astaxie/beego/pkg/server/web"
|
||||||
. "github.com/smartystreets/goconvey/convey"
|
. "github.com/smartystreets/goconvey/convey"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ func TestBeego(t *testing.T) {
|
|||||||
var controllers = `package controllers
|
var controllers = `package controllers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/astaxie/beego"
|
beego "github.com/astaxie/beego/pkg/server/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MainController struct {
|
type MainController struct {
|
||||||
|
@ -27,7 +27,7 @@ import (
|
|||||||
const confVer = 0
|
const confVer = 0
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Version = "1.12.0"
|
Version = "2.0.0"
|
||||||
GitRemotePath = "github.com/beego/bee"
|
GitRemotePath = "github.com/beego/bee"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user