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 436 go-zero issues
Sort by recently updated
recently updated
newest added

发现两个问题: 1. 如果内容为空(什么都没有,包括没有\n\r什么的),程序会出现死 loop, 如果 if n== 0 { return string(first), nil } 2. 没有对前端有空行(\r\n, \n, \t)这些字节进行处理, 如果前面有空行,返回的第一行数据有问题 3. lastline也有同样的问题 firstline 下面这样怎么样 ``` golang func FirstLine(filename string) (string, error) {...

Related issue(but stale): #3167 I am planning to implement such feature. **Is your feature request related to a problem? Please describe.** Current auto validation rules is not enough. **Describe the...

stores redis 不支持tls双向鉴权吧???

go-zero v1.5.1 rest.withCors 返回的 Access-Control-Allow-Origin:* 现在浏览器都不认这个了 ![1db682ae010d19c5ab07ab6a6d01b10](https://github.com/zeromicro/go-zero/assets/25641960/ea128701-f22c-4c05-b843-44d7b1cb78f3) rest.WithCustomCors() 也只能用来固定返回哪几个Origin 建议直接支持 设置 Access-Control-Allow-Origin: 原请求中的Origin

good first issue

Reference Links: https://go-zero.dev/docs/tutorials/gateway/grpc This is completely in accordance with the official demo example. I don't know why the request is 404. gRPC request ![image](https://github.com/zeromicro/go-zero/assets/39952131/985044fb-c93c-4fb9-9253-93b74341b431) gateway http request ![image](https://github.com/zeromicro/go-zero/assets/39952131/aaa301f8-cd43-47dd-9d80-c3b9d3f51f8c) $ goctl...

package util import ( "sort" "sync" ) const ( defaultWorkers = 16 minWorkers = 1 ) type ( rxOptions struct { unlimitedWorkers bool workers int } // FilterFunc defines the...

stale

Hello go-zero maintainers, First of all, I'd like to thank you for your work on go-zero. It has been of great help to us. I encountered an issue where go-zero...

stale

in rpc s := zrpc.MustNewServer(c.RpcServerConf, func(grpcServer *grpc.Server) { //grpcServer.SetOption(grpc.MaxSendMsgSize(maxMessageSize)) userCenterClient.RegisterUserServiceServer(grpcServer, userserviceServer.NewUserServiceServer(ctx)) userCenterClient.RegisterShopServiceServer(grpcServer, shopserviceServer.NewShopServiceServer(ctx)) userCenterClient.RegisterSubmitTaskTempServiceServer(grpcServer, submittasktempserviceServer.NewSubmitTaskTempServiceServer(ctx)) userCenterClient.RegisterSubmitTaskServiceServer(grpcServer, submittaskserviceServer.NewSubmitTaskServiceServer(ctx)) userCenterClient.RegisterShopGoodsLibraryServiceServer(grpcServer, shopgoodslibraryserviceServer.NewShopGoodsLibraryServiceServer(ctx)) userCenterClient.RegisterFilterFilesServiceServer(grpcServer, filterfilesserviceServer.NewFilterFilesServiceServer(ctx)) if c.Mode == service.DevMode || c.Mode == service.TestMode {...

Besides modifying the source code of the go-zero rest,I want to reduce the sensitivity of the BreakingHandler ![image](https://github.com/zeromicro/go-zero/assets/11469334/c8c04aa9-cb06-4902-9ed9-cd6817ee1943)

stale
answered