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

**Is your feature request related to a problem? Please describe.** I need to write unit-test, which need [gomock](https://github.com/uber-go/mock), and it need interface **Describe the solution you'd like** ``` package logic...

**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 ```go func (m *OplogMiddleware)...

The default code generation generates a `NewXXXLogic` inside the handler, which then calls the relevant methods. Why not just generate a func to call it instead of creating a new...

logx current only support 2 kind of log encoding: json and plain. can add more flexible log formatter like [logrus](https://github.com/sirupsen/logrus) for example: ```go logx.SetFormatter(&logrus.JSONFormatter{}) ``` so we can use many...

When goctl uses --multipleto generate rpc, can message be grouped in client? At present, each client will include other messages. May I ask how to solve this problem or how...

stale

**Describe the bug** The idea plugin is not very reasonable when formatting the api file. **Screenshots** ![image](https://user-images.githubusercontent.com/31927848/236612603-7f101027-7246-4b79-8f39-1aefe518b1d1.png) **Environments (please complete the following information):** - OS: Macos m1 - IDEA: IntelliJ...

stale

1,/protos/user/service.proto 内定义所有rpc接口 2,/protos/user/types/*.proto 内定义所有message 3,proto文件内option go_package设置的包名相同 4,在service.proto内import types目录下的proto文件 假设types目录下有common.proto文件 通过goctl rpc protoc命令不会生成 common.proto内定义的类型 通过原本protoc命令可以生成pb文件 问题: 发现文件生成模版 rpc/call.tpl内的{{.alias}}未正常生成别名 请问需要怎样设置才能正常的使用proto文件的import。

stale

`error: config file etc/weixinapi.yaml, unsupported type: func` in v1.4.3 go run with this yaml is ok but in v1.5.2 go run with the same yaml throw the error "config file...

stale