-
在实际应用场景中,我们是在apifox,apipost或者postman中,写好了文档,然后导出到swagger3.0文档,能不能支持将swagger文档变成api文件呢?
-
```
//StandardLoginResponse 标准登陆响应参数
type StandardLoginResponse struct {
Id int64 `json:"id"` //用户主键编号
JwtToken
WxUserInfo
}
```
生成的json如下
`
…
-
**Is your feature request related to a problem? Please describe.**
A typical Go module is named in the format of 'example.com/foo/bar.' However, whenever I run the `goctl api new example.com/foo/bar`…
-
go-zero doesn't seem to work well with swagger's plugins, such as uniformly returning objects {code,data,message}, which requires users to add fields everywhere in the.api file. Developers have raised…
-
**Describe the bug**
Here we used the example of API calling RPC in the greet demo,
The implementation logic is very simple, it just outputs hello world
At first, I thought it was a version issue. …
-
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, if applicable:
1. The code is
![image](https://github.com/zeromi…
-
![Uploading aaaaaaa.jpg…]()
-
### Describe the bug
When using the single comment style of language injection, as introduced in #6418, the nix code between two injections has the incorrect commentstring
```nix
foo = # lua
"…
alxdb updated
1 month ago
-
**The cache operation in the Insert method in the model generated by goctl is invalid when using the MySQL auto-increment primary key ID.**
If you are using the MySQL auto-increment primary key ID.…
-
**Is your feature request related to a problem? Please describe.**
我尝试在项目中引入gorm,但是在用goctl生成实体结构体的时候遇到点问题。比如我想定义gorm的关联关系,却不能修改xxxModel_gen.go。因为会提示该文件是自动生成的。 如下图
但是我想去修改自定义模板也没办法实现,我尝试把goct…