gf
gf copied to clipboard
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
go:1.15.5 gf:1.14.6 手动在数据库表`test`中添加`user`字段 或 用`g.DB().Exec()`执行往数据表`test`中添加`user`字段 没有用`model` 模型直接 `g.DB().Table('test').Insert(g.map{"user":1})` 提交时候,提示 `no column of name user found for test` 错误 重启服务,则正常运行; 群里讨论是数据表结构缓存原因, 而g.DB().GetCache() 无法获取缓存信息,导致无法清除缓存; 分析`gf`源码时在 `gdb` 运行调用 `TableFields` 生成表结构缓存(不是数据缓存),键值是`fmt.Sprintf(`mysql_table_fields_%s_%s@group:%s`, table, checkSchema, d.GetGroup())`,...
### 1. What version of `Go` and system type/arch are you using? go version go1.17.1 windows/amd64 ### 2. What version of `GoFrame` are you using? v2.1.1 ### 3. Can this...
## 环境 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...
### 1. What version of `Go` and system type/arch are you using? go version go1.17.1 windows/amd64 ### 2. What version of `GoFrame` are you using? v2.1.1 ### 3. Can this...
80% of the single test coverage of open source projects is a threshold to improve the single test coverage of the framework and increase the robustness of the framework. Welcome...
Improve the English documents of the framework. Follow up international documents. https://goframe.org/pages/viewpage.action?pageId=54112493
Provides a universal timeout retry basic component that supports at least three FixedDelay/RandomDelay/ExponentialBackOff timeout retry algorithms. Reference: Https://github.com/avast/retry-go. Https://github.com/cenkalti/backoff https://goframe.org/pages/viewpage.action?pageId=54112493
### 1. What version of `Go` and system type/arch are you using? go 1.18 ### 2. What version of `GoFrame` are you using? gf 2.0.6 ### 3. Can this issue...
### 1. What version of `Go` and system type/arch are you using? go1.18.4 windows/amd64 ### 2. What version of `GoFrame` are you using? v2.1.2 ### 3. Can this issue be...