mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
bf2997e9cca64e3166d205572093f1f5620c51e1
## Summary - Add comprehensive unit tests for the `pack` command which handles resource file packing - 8 new test cases covering core functionality ## Test Coverage | Test | Description | |------|-------------| | Test_Pack_ToGoFile | Pack files to .go file | | Test_Pack_ToBinaryFile | Pack files to binary file | | Test_Pack_MultipleSources | Pack multiple source directories | | Test_Pack_WithPrefix | Pack with prefix option | | Test_Pack_WithKeepPath | Pack with keepPath option | | Test_Pack_AutoPackageName | Auto-detect package name from directory | | Test_Pack_EmptySource | Handle empty source directory | | Test_Pack_NestedDirectories | Handle deeply nested directory structure | ## Test plan - [x] All 8 tests pass locally - [x] No modifications to existing code - [x] New test file only: `cmd_z_unit_pack_test.go`
refract(gerror): add ITextArgs interface and its implements, mainly for i18n that needs text and args separately (#4597)
fix(util/gconv): fix incompatable converting to nil pointer target from older version implement (#4224)
fix(contrib/drivers): resolve field duplication issue when same table/column names exist across different MySQL/MariaDB databases (#4577)
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: Github Pages
- 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%
