go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

A cloud-native Go microservices framework with cli tool for productivity.

Results 438 go-zero issues
Sort by recently updated
recently updated
newest added

https://github.com/zeromicro/go-zero/blob/422f401153b06526e187498c242254ac37ebc88d/rest/engine.go#L282-L296 If set factor less than 1, server will return nothing, but close connection directly. It's weird for client to receive nothing. ```shell # curl -ivvv -XPOST localhost:8888/v1 * About...

**Describe the bug** The doc [here](https://go-zero.dev/docs/design/grammar/?_highlight=api&_highlight=json#doccomment) says that `it retain the original mark of //, /*, */.` But when I generate code using go-ctl, docs and comments are removed (except...

feature

As i use go-zero for web server, i found there is no redis sentinel client support. That's why ?

# 需求:我需要在rpc的服务里面创建ws的服务,因为我需要在其他的服务里面进行消息的发送,通过grpc进行发送ws的消息 ## 现有的是api有ws的服务 ![1662552115948](https://user-images.githubusercontent.com/44461869/188874584-5dfb42e4-19a0-427b-aa91-1ca5ae4bf9bb.png)

如图,我需要制作一个批量删除内容的接口,目前期望的地址是批量传递一些ids。如下图: ![image](https://user-images.githubusercontent.com/19951467/187601295-80cb359b-6b1b-4e82-99c0-825f9f75ea5c.png) 通过api的配置如下 ![172761661922151_ pic](https://user-images.githubusercontent.com/19951467/187607700-fc4d42dc-aed4-4512-95d5-d212863f4b4d.jpg) 如你所见,他报错了。请问我的做法正确嘛? 我自己在logic中处理是可以获取到的 请问有什么好的办法吗?我希望在api中自动生成以便使用

![4B1FDC46-FCAE-4537-85CC-12ED1758A7A3](https://user-images.githubusercontent.com/2820281/185571120-f4a15d7f-bfd9-461c-aa1d-89aea7724f0d.png) `

关于etc/yaml的有一个问题 Name: baseadmin.rpc ListenOn: 127.0.0.1:8080 因为etcd是在本机上测试的话还好 但是如果是在集群和docker下每次都得修改 建议goctl默认生成的时候就直接0.0.0.0