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

I have according this document: https://go-zero.dev/cn/docs/advance/template to DIY my api output,but it's fully copy handle.tpl to internal/handler/xxxhandler.go I think document maybe have some mistakes. when i adjust some code it...

stale

这里我删除model的vars.tpl的模板,去掉字段生成时忽略的createtime和updatetime,会导致重新生成的代码,所有的model接口都不能正常的工作,insert会报字段不匹配的错误。因为我们的项目,时间都是用int64来表达的。

we use the repeated code to parser the response, can gozero use the api format to parse the return value according to the returned structure definition? ``` go if http.StatusOK...

stale

resolve #2029 reference: https://html.spec.whatwg.org/multipage/server-sent-events.html#eventsource ![image](https://user-images.githubusercontent.com/20548053/175047705-11a0a517-638d-47c7-bf82-ce7f393348f5.png)

in your code, usage = uint64(float64(cpuDelta*cores*1e3) / (float64(systemDelta) * quota)). when host's CPU It's big enough such as 48core, while container's cpu limit is small such as 100m, according to...

Fixes #2019 for AWS Lambda scenarios when `stat` does not poll cpu