mirror of
https://gitee.com/johng/gf
synced 2026-07-06 13:42:46 +08:00
095c69c42420e047c9d88847a39f6005861083e4
## Summary - Fix `gf env` and `gf build --dumpEnv` command failing when `go env` outputs warning messages - When `go env` outputs warnings (e.g., invalid characters in environment variables), it returns non-zero exit code but still provides valid output - The original code would fail in this case ## Changes - Only fail when `go env` returns empty output, allow non-zero exit code with valid output - Skip lines that don't match `key=value` format instead of failing with Fatal error - Add debug log for skipped lines to help troubleshooting - Add unit tests for env command ## Related Issue Fixes #4469 ## Test plan - [x] `gf env` command works correctly even when `go env` outputs warnings - [x] `gf build --dumpEnv` works correctly - [x] Added unit tests pass
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%
