mirror of
https://github.com/beego/bee.git
synced 2024-11-24 18:30:53 +00:00
commit
22b64e8157
@ -70,7 +70,7 @@ var maingo = `package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
_ "{{.Appname}}/routers"
|
_ "{{.Appname}}/routers"
|
||||||
beego "github.com/astaxie/beego/pkg/server/web"
|
beego "github.com/astaxie/beego/server/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -82,7 +82,7 @@ var router = `package routers
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"{{.Appname}}/controllers"
|
"{{.Appname}}/controllers"
|
||||||
beego "github.com/astaxie/beego/pkg/server/web"
|
beego "github.com/astaxie/beego/server/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -106,7 +106,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
_ "{{.Appname}}/routers"
|
_ "{{.Appname}}/routers"
|
||||||
|
|
||||||
beego "github.com/astaxie/beego/pkg/server/web"
|
beego "github.com/astaxie/beego/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 (
|
||||||
beego "github.com/astaxie/beego/pkg/server/web"
|
beego "github.com/astaxie/beego/server/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MainController struct {
|
type MainController struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user