1
0
mirror of https://github.com/gogf/gf.git synced 2025-04-05 03:05:05 +08:00

965 Commits

Author SHA1 Message Date
PandaPy
f8331bad6e
feat(net/ghttp): add Request.GetMetaTag to retrieve specific meta tag value (#4185) 2025-03-09 11:17:41 +08:00
hailaz
63cb3285f8
fix(net/ghttp): update response message handling in MiddlewareHandlerResponse (#4162) 2025-02-27 11:59:26 +08:00
John Guo
0eb229a887
feat(os/glog): add default time format 2006-01-02T15:04:05.000Z07:00 (#4134) 2025-02-11 15:59:27 +08:00
John Guo
6bd15b0796 merge master 2025-01-22 19:17:16 +08:00
Wlynxg
3f24b4da2e
feat(os/gcmd): add default value display for an argument (#4083) 2025-01-13 09:26:59 +08:00
John Guo
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
ynwcel
233295be07
fix(os/gview): search file faild from resource manager of package gres (#4024) 2024-12-18 10:39:01 +08:00
houseme
00e2f6b5dc
chore: improve golangci-lint.yml, upgrade dependencies, and optimize code and comments (#4025) 2024-12-11 10:14:12 +08:00
John Guo
80e73da416
feat(errors/gerror): add As support (#4002) 2024-12-09 23:11:56 +08:00
houseme
b0b84a3937
ci(gci/import): improve golangci.yml and add gci linter (#4010) 2024-12-07 14:17:33 +08:00
John Guo
b8142bf1fc
feat(os/gsession): add RegenerateId/MustRegenerateId support (#4012) 2024-12-06 14:16:03 +08:00
mingzaily
c0f2ef7348
feat(gctx): rename and remove gctx functions to prevent ambiguity (#3892) 2024-12-05 14:47:39 +08:00
yijiong
0d1aed0741
fix(os/gcache): function Remove returns value not *gvar.Var as previous version (#3936) 2024-11-19 23:30:29 +08:00
John Guo
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
John Guo
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
John Guo
91884e7c93
fix(database/gdb): remove support of Array/Value/Count operations for result that has multiple record fields (#3839) 2024-10-08 20:42:06 +08:00
John Guo
7cbc9e8533
test(os/gcache): fix unit testing occasionally failed due to too short expration duration set (#3842) 2024-10-08 13:06:11 +08:00
John Guo
459c8ce84e
feat(os/gfsnotify): add recursive watching for created subfolders and sub-files under folders that already watched (#3830) 2024-09-30 11:24:27 +08:00
John Guo
9589384b36
refactor(encoding/gjson): change data parameter from type any to []byte (#3542) 2024-09-28 18:10:00 +08:00
John Guo
cf742233e8
refactor(net/gudp): improve implements (#3491) 2024-09-28 18:08:46 +08:00
John Guo
1c97b7a982
fix(os/gcache): memory leak for LRU when adding operations more faster than deleting (#3823) 2024-09-28 18:07:11 +08:00
oldme
ea09457d84
fix(os/gcmd): argument index calculating error in multilevel command (#3807) 2024-09-28 18:02:34 +08:00
John Guo
9af8393758
fix(net/goai): change default value of RequestBody.Required from true to false, add required tag support for RequestBody (#3796) 2024-09-24 11:51:53 +08:00
John Guo
d8b06d056e
fix(os/gcache): a little memory leak for removed timestamp key (#3779) 2024-09-14 11:05:47 +08:00
Zwei
a6c361dcf7
fix(os/gtime): fix gtime.Value() when time only, add time only example (#3714) 2024-08-14 21:00:39 +08:00
keep doing
8824b8b0fe
os/gcron: add graceful shutdown support (#3625) 2024-06-25 21:13:51 +08:00
海亮
4d916ae73e
os/gres: fix #3611 add custom prefix / support for resource packing (#3621) 2024-06-04 20:38:59 +08:00
John Guo
23df83cb0b
database/gdb: fix deadlock when orm operations perform in cache function from gcache (#3585) 2024-05-22 21:14:43 +08:00
John Guo
2e471662f4
os/gcfg: fix file searching issue always returning the configuration file of pwd (#3592) 2024-05-22 21:14:16 +08:00
海亮
21c83670d6
os/gtime: fixed gtime ci fail (#3596) 2024-05-22 20:45:39 +08:00
ynwcel
1455440efa
os/gcfg: fix gcfg adaptfile dogetfilepath (#3587) 2024-05-20 20:23:38 +08:00
wln32
0765741d99
os/gtime: fix #3558 time zone issues (#3561) 2024-05-10 17:44:45 +08:00
CyJaySong
3cdd9ef36e
cmd/gf: fix command gf gen dao for fieldMapping feature (#3549) 2024-04-29 19:22:02 +08:00
John Guo
cc98e5759c
fix: #3200 empty content in glog handler after structure logging feature supported (#3475) 2024-04-25 19:13:50 +08:00
findnature
f48ca959f7
chore: fix function names in comment (#3536) 2024-04-24 19:14:42 +08:00
John Guo
adc94fd97a
fix: uint testing case for signal feature of package gproc occasionally failed (#3529) 2024-04-23 21:30:33 +08:00
wln32
ae58dc846a
fix: missing arguments on Windows platform for package gproc (#3482) 2024-04-15 09:59:35 +08:00
gopherfarm
505fc25a64
fix: fsnotify watcher panics when closing (#3399) 2024-04-07 14:12:03 +08:00
John Guo
1b7aea0ced
feat: add metrics option and prometheus handler wraps (#3445) 2024-04-07 09:57:13 +08:00
John Guo
e0a2645f4a
fix: #3390 name&shor tag mapping failed to command input object for package gcmd (#3429) 2024-04-01 19:07:08 +08:00
John Guo
6df0a9ca66
fix: the cron job with precise second time pattern might be executed twice in the same time (#3437) 2024-03-28 22:09:11 +08:00
John Guo
8669512f42
feat: add metric feature support in goframe (#3138) 2024-03-24 21:18:30 +08:00
wln732
040118b7c6
fix: #3370 fixed process parameter parsing failed on Windows for package gproc (#3386) 2024-03-20 19:58:42 +08:00
oldme
3a8f246569
fix: unit test error in PgSQL and SQLite; Unified t.Assert(err, nil) to t.AssertNil(err) (#3356) 2024-03-12 20:05:03 +08:00
Agzer0
849b104c31
enhance: gproc.signal enhance #3325 (#3326) 2024-03-04 20:10:05 +08:00
oldme
a1a9465e52
add ExampleCache_Clear (#3310) 2024-02-27 19:42:58 +08:00
John Guo
5307f0742e
add # for cron pattern that can ignore seconds, which makes the cron pattern running in minimum minute like linux crontab pattern (#3306) 2024-02-07 15:38:24 +08:00
oldme
51326f3d02
fix #3245 (#3298) 2024-02-06 11:47:25 +08:00
John Guo
2acdf4bb47
add field type detection for soft time field like created_at/updated_at/deleted_at to support unix timestamp or bool deleting table field (#3293) 2024-02-06 10:21:23 +08:00
John Guo
85c5b7f19e
fix issue #2594 (#3303) 2024-02-05 20:40:03 +08:00