Gin

Results 6 issues of Gin

## 环境 go 1.18 gf v2.1.2 ## 问题 嵌套结构中包含gjson.Json类型的字段,gconv.ScanList无法正确处理,会赋值为null ### 示例代码 ```go package main import ( "github.com/gogf/gf/v2/encoding/gjson" "github.com/gogf/gf/v2/util/gconv" "github.com/gogf/gf/v2/util/gutil" ) type Entity1 struct { ID int64 Content *gjson.Json } type...

wip
inactive

### 1. What version of `Go` and system type/arch are you using? go 1.18.4 ### 2. What version of `GoFrame` are you using? gf v2.1.2 ### 3. Can this issue...

planned

# 问题 go v1.18 gf v2.1.2 pgsql数据库的int8[]类型字段,gen dao后生成entity结构对应为[]int64 目前查询DB时数据转换没有问题(现有contrib已支持),但是在insert和update时,执行sql会报解析错误。 原因是slice类型的数据,会经过json.Marshal后再拼在sql中([code](https://github.com/gogf/gf/blob/master/database/gdb/gdb_core_structure.go#L71)),但pgsql的int8[]类型字段,接受的是 {1,2,3} 大括号包着的数据,而json编码后是[1,2,3]中括号 暂时解决办法是自定义结构重写生成的entity中的[]int64类型字段,自定义结构实现driver.Valuer接口 @gqcn 帮忙看看框架是否能支持这个场景? # 复现 ## pgsql ```sql CREATE TABLE public.test_slice ( ids _int8 NULL ); INSERT INTO...

enhancement
help wanted
inactive

When I was using kafka-php, I had a problem. Has anyone ever had the same problem? First produce some messages, partition has data. Then start the consumer process and find...

## Example ```go package main import ( "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" "github.com/gogf/gf/v2/util/gutil" ) type Something struct { Value string `json:"value2"` } func main() { m1 := g.Map{ "Value2": "hello", } var s1...

question
inactive

### Go version 1.22 ### GoFrame version 2.7.3/2.7.4 ### Can this bug be reproduced with the latest release? Option Yes ### What did you do? ```go package main import (...

bug