Commit Graph

160 Commits

Author SHA1 Message Date
the harder the luckier
ef1e18df19
fix: gutil.IsMap judgment logic error (#2953) 2023-09-13 19:30:02 +08:00
John Guo
b9e2b05f04
change interface ConvertDataForRecord to ConvertValueForField for package gdb (#2916) 2023-09-04 21:23:54 +08:00
the harder the luckier
3da5e5e865
fix: gutil.IsSlice judgment logic error (#2910) 2023-09-04 20:09:55 +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
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
John Guo
53e5a04073
change minimum golang version from v1.15 to v1.18 (#2820) 2023-08-01 21:15:28 +08:00
John Guo
9620b15ea1
fix length check issue (#2725) 2023-07-04 09:49:09 +08:00
guangwu
e816ab05de
refactor: code optimization (#2667) 2023-05-25 21:58:11 +08:00
John Guo
2329622564
add multiple methods support for united routes registering (#2664) 2023-05-25 10:58:06 +08:00
John Guo
04c70f2037
fix empty string converted to none empty string type slice (#2612) 2023-04-28 14:55:37 +08:00
HaiLaz
5083174a92
fix goreport for gofmt (#2523) 2023-03-17 17:54:14 +08:00
John Guo
38c9cac578
fix issue #2011 (#2421) 2023-02-07 11:37:39 +08:00
John Guo
7b0fd6de9b
add cli upgraded supported for command up (#2405)
* add cli upgraded supported for command up

* improve unit case for package internal/mutex

* v2.3.1

Co-authored-by: houseme <housemecn@gmail.com>
2023-01-18 10:12:00 +08:00
John Guo
ae4f14c2e2
add LevelPrint configuration for glog.Logger; add package internal/instance for grouped instance management feature; add default logger for panic message printing if no logger set in gcron.Cron (#2388)
* improve logging feature, add LevelPrint configuration for glog.Logger; add package internal/instance

* improve command build

* add default logger for panic message printing if no logger set

* up

* fix scheduler when timer triggers in less than one second for package gcron

* up
2023-01-06 14:15:30 +08:00
Prime.X
85c4794ceb
fix BuildParams with urlEncode when len(v) <= 6 (#2308)
* fix: check urlEncode when len(v) <= 6

* fix BuildParams with urlEncode when len(v) <= 6

* fix BuildParams with urlEncode when len(v) <= 6

Co-authored-by: Prime Xiao <primexiao.dev@gmail.com>
2022-12-23 10:33:28 +08:00
John Guo
3b245837b9
fix issue in cycle dumping for g.Dump (#2367)
* fix issue in cycle dumping for g.Dump

* up

* up

* up

Co-authored-by: houseme <housemecn@gmail.com>
2022-12-22 14:43:02 +08:00
John Guo
e7b9e41a5e
improve ut case for package internal/rwmutex (#2364) 2022-12-20 15:56:29 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
John Guo
182a393050
package comments and readme update (#2182) 2022-10-09 21:23:55 +08:00
John Guo
66aa0c7050
add switch of brief stack for package gerror (#2153) 2022-09-27 10:11:33 +08:00
John Guo
141ca62c6d
feature/v2.2.0 (#2154) 2022-09-26 22:11:13 +08:00
John Guo
ee376883d1
improve logging content printing for internal log (#2090)
* CI updates

* fix issue in OpenAPI json marshaling of embedded struct definition; improve command gen service

* improve logging content printing for internal log
2022-08-26 14:30:12 +08:00
John Guo
dd7caea910
fix UT issue for package gcron (#1992) 2022-07-12 09:55:46 +08:00
John Guo
047c90466d
improve UT for package gcron (#1966) 2022-07-04 21:18:20 +08:00
John Guo
1acc1b8230
improve DeepCopy feature for bunch of components, especially the container and gtime (#1956) 2022-06-29 14:58:27 +08:00
John Guo
0d7e28ee75 add deep copy feature 2022-05-23 16:51:10 +08:00
John Guo
bf674060c0 add internal package consts to manage shared constants; improve buildin function dump only available in develop mode for package gview 2022-04-13 21:08:12 +08:00
John Guo
d0f2928cec fix issue of nil pointer in package internal/utils 2022-04-11 20:43:32 +08:00
John Guo
f9a3fa3c23 fix issue #1700 2022-04-11 17:58:07 +08:00
John Guo
d8d9996464 fix issue #1662 2022-03-11 10:24:42 +08:00
John Guo
acd1989fa1 improve Dump feature for package gutil 2022-03-10 22:29:47 +08:00
John Guo
afa1f78a02 fix issue #1661 2022-03-10 21:12:24 +08:00
John Guo
213392640c fix issue #1653 2022-03-10 09:22:50 +08:00
bert
4f95d0a07a Repeat 'len(s)'. 2022-03-09 10:53:28 +08:00
John Guo
afa58ed45b fix issue #1227 #1617 2022-02-22 10:43:31 +08:00
John Guo
2461ef9f29 fix issue #1597 2022-02-17 11:46:35 +08:00
John Guo
a5cc03ff25 fix issue #1563 2022-02-16 00:47:23 +08:00
John Guo
04eb654133 add error stack for internal error printing 2022-01-28 14:51:49 +08:00
John Guo
220ed74ad1 fix gstr.IsNumeric 2022-01-17 19:42:21 +08:00
John Guo
c72a9f2e1e add buildin functions xml/ini/yaml/toml for package gview 2022-01-17 15:55:45 +08:00
John Guo
3932e0b15f add OmitEmpty support for WhereIn 2021-12-28 17:15:01 +08:00
John Guo
ce93b625d4 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-21 22:59:14 +08:00
John Guo
7e81600772 improve package gjson 2021-12-20 00:32:23 +08:00
John Guo
f72ba0b64d fix issue in ut of package internal/tracing 2021-12-17 00:11:41 +08:00
John Guo
8f24dc3549 add SetTraceID for package gtrace 2021-12-17 00:06:38 +08:00
John Guo
aee52fd56e enable OpenTelemetry in default for some core components 2021-12-16 23:09:37 +08:00
John Guo
39bbca2a50 add stack filter of goframe module path for logging content 2021-12-10 18:52:35 +08:00
John Guo
01930c9899 improve package gcmd 2021-12-08 19:50:28 +08:00
John Guo
0e3a8576b4 improve debugging feature 2021-12-04 23:07:54 +08:00
John Guo
8de176d73f move package /net/ghttp/internal/client as /net/gclient 2021-12-03 23:32:00 +08:00