bee
bee copied to clipboard
Bee is a tool for helping develop with beego app framework.
如题描述,希望能支持在 执行 bee new的目录下生成新项目
add command "bee pro toml" for create beegopro.toml #719
Updated Dockerfile template to use `dep` instead of `godep`. Also simplified template: - used `COPY` instead of `ADD` (preferred) - used `$WORKDIR` instead of `$APP_DIR` (avoids cd'ing and mkdir)
I have created a new beego app: ``` $ bee new quickstart $ cd quickstart $ bee run ``` So it's vanilla but working. I then run: ``` $ bee...
当结构体定义为 ```golang type XX struct { Id int64 `json:"id,string"` } ``` 时, 生成的 swagger 文件, 解析得到的 类型为 int64, 但是按照 json 规则, 应该为 string 类型 这次pr, 解决了这个问题
Backup only when content changes
* Support `NSRouter` * As `NSRouter` doesn't need `@router` annotation, changed `parserComments` to parse comments of HTTP method functions(Get, Post, ...) without `@router` annotation * Support multi-level namespace * Traverse...
use the built-in http method. ```go http.MethodGet ``` replace all static check by `golangci-lint run -D errcheck`
在router中添加了一个root context path: ns := beego.NewNamespace( "/" + demo_project , beego.NSNamespace("/user", beego.NSInclude( &controllers.UserController{}, ), ), ) 使用bee run -gendoc=true -downdoc=true成功生成了swagger文档,但是点击try it out按钮测试的时候curl的命令是curl -X POST "http://localhost:8080/user/login" -H "accept: application/json" -H "content-type:...