-
http_port_dev=8090, but http server Running on :8080.
localhost:beeweb zdd$ ls
Dockerfile README.md bee.json beeweb.go conf models routers static_source
LICENSE …
-
使用:go get -u github.com/beego/beego/v2
出现:cannot find package "github.com/beego/beego/v2" in any of: ...
请问何解?
-
```
bee run -gendoc=true -downdoc=true
```
出现错误
1. 不识别时间类型 0001 Cannot find the object: time.Time
2. 多层 NSNamespace 无法识别, 无法生成swagger API列表
```
adminAPI := beego.NewNamespace("/v1/",
…
-
import(
"crypto/md5"
"fmt"
"github.com/beego/beego/v2/client/orm"
"github.com/beego/beego/v2/core/validation"
beego "github.com/beego/beego/v2/server/web"
"log"
"github.com/astaxi…
-
众所周知,目前在 ORM 设计上,利用 Builder 模式来完成复杂查询的构建,才算是唯一的出路。并且,我们可以充分利用泛型,来进一步降低 ORM 操作的成本。
我在 https://github.com/ecodeclub/beego/pull/12 中演示了这种思路。
为此,需要做两件事情。第一件事情是在 Ormer 上增加一个新的方法,该方法会执行查询,并且将结果集封装为一个对…
-
打包提示:can't load package: package .: no Go files in E:\Go\Beego
windows平台,请问是什么原因
GOPATH
E:\Go\Beego
E:\Go\Beego\bin
E:\Go\Beego\src\HelloWorld
-
请问下,现在的beego包路径已经变了,想要做二次开发有没有什么简单的方法解决
-
i did all the command in ReadMe.
1, bee new hello
2, cd hello
3, update conf
4, cp -R ../github.com/beego/admin/static ./
5, p -R ../github.com/beego/admin/views ./
6, go build
7, ./hello
it turn o…
-
I got a problem when generate swagger document with defined structs out side beego project folder.
Message: WARN ▶ 0001 Cannot find the object: common.PagingRequest
My project structure like t…
-
In the beego docs I see two ways of accessing Config variables but only former works later not working. Am I missing anything?
For example:
1. According to http://beego.me/docs/mvc/controller/config.…