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

goctl version 1.3.5 执行: goctl model pg datasource -url="postgres://username:pwd@hostname:port/db?sslmode=disable" -table="tablename" -c -dir . 报错:unsupported database type: uuid 希望可以支持 uuid 格式的列。

stale

**use ddl gen model with field `create_at` causes field count not match** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, if...

stale

目前的goctl会把db的decimal类型生成为float64/sql.NullFloat64。 希望使用github.com/shopspring/decimal的decimal.Decimal/decimal.NullDecimal来接收db的decimal类型,这样才能满足高精度的使用场景。或者希望能改进goctl设计能让使用者自定义类型映射。

stale

There is a question, why gozero does not have a preset response format specification, and you have to redefine it every time you use it. Hope go-zero can define an...

stale

My go version is go1.18.3 linux/amd64 I had did these: $ go get -u github.com/zeromicro/go-zero $ go get -u github.com/zeromicro/go-zero/tools/goctl $ goctl Command 'goctl' not found, did you mean: command...

stale

**Describe the bug** data.id.hex is nil 1. The code is ```go func (m *defaultUserModel) FindOne(ctx context.Context, id string) (*User, error) { oid, err := primitive.ObjectIDFromHex(id) if err != nil {...

stale

**Describe the bug** go-zero api cannot realize file stream download when downloading large files ? 1、go http server ```go func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/octet-stream")...

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...

stale

*now* - table: `t_user`, `t_role` - genModel: `TUSER`, `TROLE` *expect* - table: `t_user`, `t_role` - genModel:` USER`, `ROLE` How to achieve this effect with GOCT?

stale

hi 我在rpc定义的了一个方法 返回了一个adIds []int64,在通过api调用接收后, 结构体被当作空值 未被解析,返回adIds 返回nil, 通过grpcui,是能够正确获取到 adIds的值为 [ ] , 去掉pb里面的 omitempty 也是一样为nil ```go type MediaMaterial struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`...

stale
kind/need-more-investigation