go-zero
go-zero copied to clipboard
goctl: shopsping/decimal replace float64 to receive database decimal type
目前的goctl会把db的decimal类型生成为float64/sql.NullFloat64。 希望使用github.com/shopspring/decimal的decimal.Decimal/decimal.NullDecimal来接收db的decimal类型,这样才能满足高精度的使用场景。或者希望能改进goctl设计能让使用者自定义类型映射。
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.