mirror of
https://gitee.com/johng/gf
synced 2026-07-04 21:03:13 +08:00
841003eeb33b9c3c0c52c9227ec4f9204575e05d
## Summary - Port 4 test files from PgSQL driver to GaussDB driver to align test coverage - Add `gaussdb_z_unit_transaction_test.go` (40 tests): nested transactions, savepoints, rollback, panic recovery, context propagation - Add `gaussdb_z_unit_model_where_test.go` (35 tests): comprehensive Where clause combinations (map, slice, struct, pointer, operators, nil, empty) - Add `gaussdb_z_unit_feature_hook_test.go` (6 tests): model hook callbacks (Select/Insert/Update/Delete) - Add `gaussdb_z_unit_feature_ctx_test.go` (5 tests): context propagation, timeout, logging with context - Remove old `Test_Model_Where` (2 sub-tests) from `gaussdb_z_unit_model_test.go`, replaced by comprehensive version in dedicated where test file (35 tests) - **86 new test functions**, ~3,224 net new lines ## Test plan - [x] `go build ./...` passes - [x] `gofmt` and `gci` applied - [x] No remaining `pgsql` references in new files - [ ] Run `go test -v -run "Test_TX_" -count=1` against GaussDB instance - [ ] Run `go test -v -run "Test_Model_Where" -count=1` against GaussDB instance - [ ] Run `go test -v -run "Test_Model_Hook" -count=1` against GaussDB instance - [ ] Run `go test -v -run "Test_Ctx" -count=1` against GaussDB instance ref #4689
refactor(container): add default nil checker, rename RegisterNilChecker to SetNilChecker, migrate instance containers to type-safe generics (#4630)
refactor(container): add default nil checker, rename RegisterNilChecker to SetNilChecker, migrate instance containers to type-safe generics (#4630)
refract(gerror): add ITextArgs interface and its implements, mainly for i18n that needs text and args separately (#4597)
refactor(container): add default nil checker, rename RegisterNilChecker to SetNilChecker, migrate instance containers to type-safe generics (#4630)
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%
