mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
0588009c4025ea0aa9bd478ece262e3c680623d2
## Summary - Port 11 pagination tests: Page/Limit/Offset, combined with Where/Order, boundary conditions (page 0, large offset), Count with pagination - Port 8 error-handling tests: invalid table/field names, syntax errors, duplicate key, connection errors, error wrapping and message verification - Port 5 concurrency tests: parallel read/write with goroutines and WaitGroup, concurrent transactions, race condition verification - Port 6 raw-type tests: custom type scanning, time.Time handling, json.RawMessage, sql.NullString/NullInt64, []byte fields - Port 6 sharding/table-name tests: dynamic table name via Sharding callback, table name with prefix, schema.table format All tests are structurally identical to the MySQL driver baseline. SQL syntax is standard and shared. Package and import references are adapted for MariaDB. ref #4689
refactor(container): add default nil checker, rename RegisterNilChecker to SetNilChecker, migrate instance containers to type-safe generics (#4630)
test(contrib/drivers/mariadb): add pagination, error, concurrent, rawtype and sharding tests (#4723)
fix(databse/gdb): use COUNT(1) if fields number is greater than 1 even when parameter
useFieldForCount is true in AllAndCount/ScanAndCount (#4701)
refract(gerror): add ITextArgs interface and its implements, mainly for i18n that needs text and args separately (#4597)
English | 简体中文
A powerful framework for faster, easier, and more efficient project development.
Installation
go get -u github.com/gogf/gf/v2
Documentation
- Official Site: https://goframe.org
- Official Site(en): https://goframe.org/en
- 国内镜像: https://goframe.org.cn
- Mirror Site: https://pages.goframe.org
- Mirror Site: Offline Docs
- GoDoc API: https://pkg.go.dev/github.com/gogf/gf/v2
- Doc Source: https://github.com/gogf/gf-site
Contributors
💖 Thanks to all the contributors who made GoFrame possible 💖
License
GoFrame is licensed under the MIT License, 100% free and open-source, forever.
Languages
GO
100%
