MarkJoyMa

Results 9 comments of MarkJoyMa

The Logger module is an interface, you can implement your own log by yourself.

There is no need to use [] in the tag, only the type is defined as an array, and the incoming is separated by commas. example: ```go articlesDelReq { ids...

Sorry, I confirmed it, and it is determined that form passing arrays is not supported in zero. There are two ways to solve it. 1. Pass the string in the...

Customize the verification logic by customizing Middleware, and you need to turn off the zero verification switch.

This requirement is indeed necessary. At present, there are many internal middlewares in zero, and there will be problems in using logx, which will block the real business caller.

Comments and definitions can be brought into the generated code. example: ```go type PingResp { Message string `json:"message"` // Ack message. } ```

At present, logx already provides similar functions. You can try to use logx.WithFields/logx.ContextWithFields to pass fields to context. You can build this process in middleware.

You can come to the go-zero community group to consult.

The call timed out. The timeout set by the context may have expired. You can check whether the timeout setting has been set on the call link.