656ae070da
fix(cmd/gf): fix gen sharding dao in multiple shardingPattern tables … ( #4379 )
...
fix #4378
fix #4330
---------
Co-authored-by: hailaz <739476267@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-22 16:46:23 +08:00
8cb64c9f88
fix(cmd/gf): "unknown time zone" when using "gf gen dao" for clickhouse on windows platform ( #4368 )
...
fix bug: could not load time location: "unknown time zone Asia/Shanghai"
The bug will appear when I use gf in windows to do "gf gen dao" for
clickhouse.
2025-08-15 13:35:59 +08:00
bc862cf97b
chore: bump golang.org/x/tools to v0.34.0 for Go 1.25 compatibility
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2025-06-14 13:34:25 -04:00
69e3362d0d
feat: new version v2.9.0 ( #4204 )
2025-03-17 15:52:26 +08:00
abf77fac50
fix(cmd/gf): invalid binary suffix after installing binary using custom renamed file name that has suffix with . character ( #4207 )
2025-03-17 13:48:54 +08:00
029f324c5c
feat: version v2.9.0-beta ( #4189 )
2025-03-09 22:31:20 +08:00
dfe088f5cd
refactor(util/gconv): add Converter feature for more flexable and extensible type converting ( #4107 )
2025-03-06 23:04:26 +08:00
bda42d18ee
feat(cmd/gf): add controller comment support for command gf gen ctrl ( #4169 )
2025-02-27 14:21:40 +08:00
63cb3285f8
fix(net/ghttp): update response message handling in MiddlewareHandlerResponse ( #4162 )
2025-02-27 11:59:26 +08:00
e12768207e
feat(cmd/gf): beautify progress bar of cli binary downloading for command gf up ( #4094 )
2025-01-22 19:22:36 +08:00
6bd15b0796
merge master
2025-01-22 19:17:16 +08:00
fc9093a1aa
feat(cmd/gf): add ShardingPattern option for command gf gen dao to support generating dao files sharding tables ( #4081 )
2024-12-26 23:21:03 +08:00
e6bee78be4
Apply gci import order changes
2024-12-26 02:18:19 +00:00
96e833db6e
feat(gf/gen/pbentity): add a TablesEx configuration to exclude the specified table names ( #4060 )
2024-12-26 10:17:51 +08:00
3a19ee9268
fix: securiry update CVE-2024-45338 for package golang.org/x/net ( #4070 )
2024-12-25 21:43:55 +08:00
817ac36ce2
ci: use latest go version for unit testing cases of contribution components ( #4062 )
2024-12-19 10:11:55 +08:00
f79aef6669
fix(database/gdb): fix context canceled error in transaction due to usage of TransTimeout configuration ( #4037 )
2024-12-17 21:15:54 +08:00
0c2d5cac19
feat: new version v2.8.3 ( #4048 )
2024-12-17 09:24:13 +08:00
00e2f6b5dc
chore: improve golangci-lint.yml, upgrade dependencies, and optimize code and comments ( #4025 )
2024-12-11 10:14:12 +08:00
e18331aa2c
docs(cmd/gen): improve comments for command gen dao ( #4007 )
2024-12-07 14:19:36 +08:00
b0b84a3937
ci(gci/import): improve golangci.yml and add gci linter ( #4010 )
2024-12-07 14:17:33 +08:00
c9b0237fc7
feat: version v2.8.2 ( #4009 )
2024-12-05 20:21:19 +08:00
7cd672d22c
feat(cmd/gf): add interface functions generating for embedded struct of logic struct in command gen service ( #3802 )
2024-12-05 14:44:21 +08:00
e2cafa35e0
fix(cmd/gf): custom tags repeatedly added using command gf gen pb with -a option ( #3966 )
2024-12-05 14:42:30 +08:00
2d0cd7b770
refactor(cmd/gf): change default src value to api, path to internal/packed/packed_enums.go for command gen enums ( #3996 )
2024-12-02 21:39:04 +08:00
5521d768ff
feat(cmd/gf): add typeMapping and fieldMapping feature support for command gf gen genpbentity ( #3970 )
2024-11-27 21:09:42 +08:00
e56371e7c9
fix(cmd/gf): incorrect environment variables printing before cli does some environment changes ( #3961 )
2024-11-23 17:54:20 +08:00
3797d0eee4
feat: new version v2.8.1 ( #3950 )
2024-11-21 20:51:46 +08:00
9c8b21af7b
fix(cmd/gf): incorrect make command in project template ( #3946 )
2024-11-20 21:47:32 +08:00
ec6c537def
feat(cmd/gf): project template updates for command gf init ( #3928 )
2024-11-17 10:57:17 +08:00
138dea0f3a
feat(cmd/gf): change document source from repo gf to gf-site ( #3926 )
2024-11-15 14:33:23 +08:00
955a76cf35
feat: new version v2.8.0 ( #3924 )
2024-11-14 13:26:23 +08:00
fff2f8a24c
build: downgrade fsnotify from v1.8.0 to v1.7.0 to solve data race error ( #3916 )
2024-11-13 12:22:23 +08:00
a63af5d5f8
build: upgrade fsnotify from v1.7.0 to v1.8.0 to solve occasional ci failure ( #3910 )
2024-11-12 10:25:39 +08:00
1b7b536d6c
fix(cmd/gf): protoc file comments contain backticks and double quotes, resulting in syntax errors in the generated file of go ( #3890 )
2024-11-11 21:37:30 +08:00
9cc1cf1b53
fix(cmd/gf): remove dir after process done if given build file parameter is not a file but a dir name ( #3908 )
2024-11-11 21:32:58 +08:00
5ba165a3c0
fix(cmd/gf): go back current working directory after gf gen pb ( #3895 )
2024-11-11 20:42:25 +08:00
656668f444
feat: new version v2.8.0-beta ( #3878 )
2024-10-24 14:51:03 +08:00
e3e5c89ba7
fix(os/gcmd): cannot retrieve all args if no subcommand defined for a root command ( #3850 )
2024-10-10 09:17:34 +08:00
ae3ae8b177
test(cmd/gf): add unit testing case generating dao/do/entity files for sqlite in command gen dao ( #3808 )
2024-10-08 22:06:07 +08:00
183395f0a0
fix(cmd/gf): gen service error when there's version number at the end of package import path ( #3836 )
2024-10-05 12:25:43 +08:00
ab3fbddfc7
build(go.mod): upgrade minimum required go version from 1.18 to 1.20 ( #3688 )
2024-09-28 20:58:04 +08:00
f45f64897a
fix(cmd/gf): creating logic.go empty folder when there is no correct logic service ( #3815 )
2024-09-28 11:28:06 +08:00
a716c6bfab
feat: new version v2.7.4 ( #3809 )
2024-09-25 19:53:23 +08:00
3f2b1cb329
feat(database/gdb): add year field type support for ORM operations ( #3805 )
2024-09-25 16:33:52 +08:00
ab2c3b02ac
fix(cmd/gf): table and field names converted to its lower case before CamelCase converting in command gen dao ( #3801 )
2024-09-25 10:59:00 +08:00
777c2e7117
ci: fix mssql docker service failed in ci ( #3792 )
2024-09-23 11:50:48 +08:00
bb9a3b83eb
feat(database/gdb): add time field type for value converting for/from field ( #3712 )
2024-09-10 17:51:22 +08:00
baea1c7a7a
feat: version v2.7.3 ( #3763 )
2024-09-09 16:39:02 +08:00
4fdafa4517
feat(cmd/gf): project templates update for command gf init ( #3704 )
2024-07-24 19:15:54 +08:00