formal-you
formal-you
使用的命令为:**goctl api doc -dir . -o readme** **error:** Type []UserInfoResp generate error, unspport struct type: []UserInfoResp + 以下为使用的 service - service user-api { @handler UserList get /user/list returns ([]UserInfoResp) }
### Is your feature request related to a problem? _No response_ ### Describe the solution you'd like. _No response_ ### Describe alternatives you've considered. _No response_ ### Additional context. _No...
我在使用 [nunu-layout-advanced]模板后,修改了 **conf/local.yml**, **conf/prod.yml** 的 MySQL 数据库连接, 并修改了 internal/repository/repository.go:30 ```go db, err := gorm.Open(mysql.Open(conf.GetString("data.mysql.nunu")), &gorm.Config{})// 使用我自己创建数据库 ``` 随后使用 **nunu run** 命令启动 报错: ```go D:/LeetCode/Golang/Go-Web/github.com/formal-you/nunu-hello/internal/repository/repository.go:30 [error] failed to initialize database, got...
#### What happened: In `github.com/go-kratos/kratos/v3/middleware/logging`, there are two significant issues regarding error handling and structured logging: 1. **Duplicate error string recorded in both `error` and `stack` attributes**: In `logging.go`, `extractError(err)`...