Commit Graph

919 Commits

Author SHA1 Message Date
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
海亮
553cc45e54
fix empty pwd path read from gfile.Pwd() which could cause internal error logging for gview.New (#3302) 2024-02-05 16:49:44 +08:00
jswxstw
adc056f547
feat: support running commands via non-command line arguments (#3290) 2024-01-30 20:14:13 +08:00
John Guo
4b8eaac73f
fix issue #3232 (#3247) 2024-01-15 20:33:30 +08:00
John Guo
4f4d2c2f8e
add MiddlewareNeverDoneCtx for package ghttp (#3250) 2024-01-06 13:03:49 +08:00
Gin
5a01798481
fix: memory leak when gcache.NewAdapterMemory with lru (#3241) 2024-01-03 20:03:19 +08:00
John Guo
22fcfdf755
add configuration support for logger of grpcx.Server (#3223) 2024-01-02 20:19:05 +08:00
John Guo
1e21b61a19
fix typo flie -> file (#3228) 2024-01-02 20:17:54 +08:00
John Guo
6abd8bd864
comments update for package gstr (#3233) 2024-01-02 20:16:51 +08:00
cy
4876ae0e2b
fix:gz files are compressed repeatedly every time tick (#3236) 2024-01-02 20:10:57 +08:00
oldme
9f7ce42c74
enhance #3221 (#3224) 2023-12-28 20:07:07 +08:00
zhangyuyu
16a43bcb6c
Add comment for Format method so that you can know Layout method. (#3230) 2023-12-26 16:19:59 +08:00
John Guo
ee2cf92479
Version/v2.6.0 beta (#3183) 2023-12-04 19:34:48 +08:00
John Guo
ea5d52cb2f
fix issue #3147 (#3161) 2023-11-22 21:05:39 +08:00
Hunk Zhu
0b407c5e6d
fix "gf gen pb" api and ctrl not working well. (#3076) 2023-11-08 21:26:51 +08:00
John Guo
e42aa64d75
improve impelements for logging file rotation in windows (#3080) 2023-10-31 20:19:01 +08:00
PickMeUp
943939ba2b
improve cache duration from second to millisecond for redis adapter of package gcache (#3052) 2023-10-18 20:02:23 +08:00
John Guo
7c92c2f7e8
improve comments and variable names for gcfg.AdapterFile of package gcfg (#3046) 2023-10-17 20:12:07 +08:00
huhu
02f1cc7b40
allowing use printToStdout, printToFile and printToWriter at the same time for Logger of package glog (#2990) 2023-10-07 20:46:24 +08:00
John Guo
30040332a7
improve address configuration for grpc server (#2982) 2023-09-27 14:40:32 +08:00
海亮
130191f4ed
add in:header tag cache for http request to enhance performance (#2923) 2023-09-25 21:34:58 +08:00
the harder the luckier
7c9eefef3d
feat: Preserve original file permissions & Default copy permissions c… (#2969) 2023-09-19 20:20:13 +08:00
光芒伞
e684eae878
Make GTime support multiple formats (#2933) 2023-09-13 19:29:25 +08:00
John Guo
5219c5c37e
add ut cases for command gen dao (#2958) 2023-09-12 22:00:35 +08:00
John Guo
ab1970e7d6
add new function g.Go (#2943) 2023-09-11 10:18:44 +08:00
John Guo
1582714325
improve signal listening for package grpcx/ghttp/gproc (#2942) 2023-09-11 10:15:08 +08:00
John Guo
b9e2b05f04
change interface ConvertDataForRecord to ConvertValueForField for package gdb (#2916) 2023-09-04 21:23:54 +08:00
John Guo
887803e495
add structure logging handler for package glog (#2919) 2023-09-04 21:23:46 +08:00
John Guo
3f69e0db36
improve error stack configuration for package gerror, add framework error stack filter for package glog (#2918) 2023-08-31 15:31:55 +08:00
John Guo
3841f05e02
add AdapterContent implements for gcfg.Adapter (#2892) 2023-08-28 21:49:30 +08:00
Hunk
aed695313a
rewrite gmutex with sync.RWMutex (#2883) 2023-08-23 19:27:57 +08:00
John Guo
ac3481ed43
it returns error when Scan to a none empty slice with empty Result for package gdb (#2858) 2023-08-17 20:29:06 +08:00
Lonely
ea6a773d60
fix: marked gcode.CodeInternalPanic for panic (#2860) 2023-08-14 09:53:13 +08:00
John Guo
0f53660453
fix issue #2570 (#2819) 2023-08-02 20:41:28 +08:00
John Guo
574d63b4fd
fix issue #2803 (#2805) 2023-08-01 22:06:10 +08:00
John Guo
53e5a04073
change minimum golang version from v1.15 to v1.18 (#2820) 2023-08-01 21:15:28 +08:00
John Guo
dec66dbd05
add NeverDone function for package gctx that creates and returns a never done ctx (#2784) 2023-07-25 20:45:34 +08:00
海亮
b99db92113
feat: gbuild add BuiltVersion (#2754) 2023-07-19 21:15:22 +08:00
Lonely
c0dff1dc16
add default time check for converting functions of gtime.Time (#2755) 2023-07-19 21:11:54 +08:00
John Guo
498b72f75a
improve gctx.New for none default opentelemetry provider (#2756) 2023-07-14 14:26:24 +08:00
John Guo
9620b15ea1
fix length check issue (#2725) 2023-07-04 09:49:09 +08:00
xuyue86
3fab7a341d
feat(glog): add log rotation support for short-running process (#2658) 2023-06-29 20:29:33 +08:00
John Guo
c5c2938380
improve command gen ctrl and gen service (#2711) 2023-06-19 20:47:32 +08:00
John Guo
835b252b5d
fix issue in Where when used in field with prefix that not match struct attribute name (#2688) 2023-06-06 20:40:32 +08:00
guangwu
e816ab05de
refactor: code optimization (#2667) 2023-05-25 21:58:11 +08:00
mason
ff6f5ce237
update default logging time format using SetTimeFormat (#2611) 2023-05-23 20:59:58 +08:00
张金富
f0d22fe570
doc: correct level value comment (#2653) 2023-05-22 20:29:24 +08:00