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

73 Commits

Author SHA1 Message Date
John Guo
dfe088f5cd
refactor(util/gconv): add Converter feature for more flexable and extensible type converting (#4107) 2025-03-06 23:04:26 +08:00
John Guo
a5c8b966e2
feat(util/gconv): add basic types conversion support for function Scan (#3991) 2024-12-18 10:41:09 +08:00
wln32
1b4ebc0812
perf(util/gconv): add cache logic to enhance performance (#3673) 2024-09-09 16:17:01 +08:00
wln32
911f1cb1de
enhance: use map iter to iterate the map instead of map keys and values (#3457) 2024-04-07 10:00:04 +08:00
oldme
51326f3d02
fix #3245 (#3298) 2024-02-06 11:47:25 +08:00
conwaypan
c4a51f4c2f
bugfix:fix gconv map deep option not effective (#3287) 2024-01-29 19:52:04 +08:00
John Guo
951f8921cd
fix #3237 (#3267) 2024-01-17 15:35:48 +08:00
oldme
42e3c5f39a
fix #3253 (#3255) 2024-01-11 22:14:22 +08:00
John Guo
645c5ff5b5
fix issue #3218 #3204 (#3220) 2023-12-19 21:58:12 +08:00
John Guo
9aa872e705
improve map converting feature using MapOption for package gconv (#3170) 2023-11-23 18:59:04 +08:00
the harder the luckier
eb11061bd2
fix: gjson encode to string expect inconformity(issue 2520) (#2928) 2023-09-04 21:19:22 +08:00
Hunk
24ee5341ec
Fix empty map or struct convert to another map will return error. (#2863) 2023-08-17 20:59:16 +08:00
John Guo
4020eb9b4c
fix issue in SliceMap/Maps for package gconv when nil value in map of slice item (#2857) 2023-08-10 21:59:21 +08:00
John Guo
6d7edb1479
fix issue #2760 (#2763) 2023-07-13 21:15:07 +08:00
guangwu
e816ab05de
refactor: code optimization (#2667) 2023-05-25 21:58:11 +08:00
John Guo
13f6fb1929
fix issue struct attribute converting when has no json name but with omitempty tag (#2486) 2023-03-07 21:26:32 +08:00
John Guo
3f6669e2b7
fix issue 2391 (#2398)
* v2.3.0

* fix #2391

* fix issue #2391
2023-01-16 16:00:18 +08:00
John Guo
5884a0e05f
fix issue #2381 (#2382)
* fix issue #2381

* up

* up
2023-01-03 11:00:23 +08:00
John Guo
6e12aa4bf7 fix issue #1568 2022-01-13 20:49:26 +08:00
Anonymous
4cdddbd6e0 Recurse map fields inside structs 2022-01-04 19:22:18 +00:00
John Guo
b27259aded fix issue converting empty map[string]string to map[string]interface{} 2021-12-17 17:22:55 +08:00
houseme
d864120353 Improved import, by group improt. 2021-11-13 23:30:31 +08:00
John Guo
f887c9f44b improve package gmeta 2021-10-12 17:52:31 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
dcafba8a2d add package goai for OpenAPIv3 support 2021-10-02 14:52:28 +08:00
jianchenma
01a3dd1eb0 add function gerror.HasStack; rename all api* interfaces to i* 2021-09-17 19:26:56 +08:00
John Guo
8f4ce91361 improve condition parameter of struct by sequence for package gdb 2021-08-19 14:09:31 +08:00
John Guo
50ffaef33f add context for intlog/gsession;improve struct/structs converting for package gconv 2021-06-26 16:23:54 +08:00
John Guo
eb723e47c2 fix issue in gconv.MapDeep 2021-06-05 08:58:54 +08:00
John Guo
7003c284d0 replace json.Unmarshal with json.UnmarshalUseNumber for packages 2021-05-15 22:38:07 +08:00
John Guo
482e093331 add map/[]map converting support for gconv.Scan;improve gconv.MaptoMaps 2021-03-23 17:53:20 +08:00
John Guo
a3fa10d820 great! completed 'with' feature for package gdb 2021-02-09 18:00:43 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
jflyfox
036bc03ebf improve error handling for package gconv 2020-12-30 13:27:27 +08:00
John Guo
84fef8dea3 add error code feature for package gerror 2020-12-10 23:33:24 +08:00
John
c56f4eabca inprove gconv.Interfaces for struct type 2020-11-29 21:34:28 +08:00
Jack
b178210a31 fix issue in gconv.Map for embedded struct attributes converting 2020-11-10 09:53:12 +08:00
John
9f04e46166 mark gconv.StructDeep/StructsDeep deprecated 2020-11-05 23:02:29 +08:00
John
8e380c0d9d improve package gtime/gconv for map converting 2020-10-25 11:33:30 +08:00
John
0caf4bfcec improve gconv.StructDeep 2020-10-25 10:47:47 +08:00
John
ad943c5e02 improve gjson.New by using gconv.MapDeep for map/struct 2020-09-07 19:44:11 +08:00
Jack
19937cb75d improve MapDeep for package gconv 2020-08-11 20:13:47 +08:00
john
f489e6273e fix issue 819 2020-07-25 10:54:48 +08:00
john
c135122ca1 improve package gconv for detailed handling of interface attributes 2020-07-13 23:13:50 +08:00
John
3643a69d8d improve function Struct/StructDeep for package gconv 2020-07-08 10:52:45 +08:00
John
b2aa59d893 import third-party library json-iterator to improve the performance for json operations 2020-06-17 21:16:25 +08:00
John
95a8b51fb4 improve map slice converting for package gconv 2020-06-15 18:59:18 +08:00
John
76d31a7fbb improve slice result handling by treating it as string slice for package gredis 2020-06-03 23:44:21 +08:00
John
b6ab1a992c improve empty checks for common interfaces implementer 2020-05-25 14:26:08 +08:00
john
7c2cff7d99 add function GetVar for package gcache 2020-05-17 18:16:26 +08:00