kesonan

Results 34 comments of kesonan

目前 go-zero 是支持form 数组的,参考写法如下: api 文件 ``` articlesDelReq { ids []int `form:"ids,optional"` } ``` 对于 GET 方法,你可以通过如下格式访问: `http://{baseURL}{path}?ids=[1,2,3]` 对于 POST 方法,你可以通过如下格式访问: `http://{baseURL}{path}` |key|value| |:---|:---| |ids|[1,2,3]| 最终,你将获取到 ids 为`1`,`2`,`3`的数组 > Currently...

The template file does not support adding files, you can only modify the content on the existing template file or modify the template based on the existing variables in the...

外部变量获取比较复杂,实用性低,以目前看来暂不会支持 > It is difficult to get external variables, and there has no more improvements for this change, so it would't be supported so far.

Hi @vietnguyen87 , to delete the plugin `protoc-gen-go` in `$PATH`, and then install `protoc-gen-go` with ` go get -u github.com/golang/protobuf/[email protected]` please !