Commit Graph

231 Commits

Author SHA1 Message Date
John Guo
0dfd968824 comment update for package gconv/gproc 2021-05-17 21:26:39 +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
jianchenma
e3ebc908bb improve package gconv 2021-03-18 15:21:05 +08:00
John Guo
a3fa10d820 great! completed 'with' feature for package gdb 2021-02-09 18:00:43 +08:00
jianchenma
8ae0bd148b improve ScanList for package gdb; improve Structs for package gconv 2021-02-05 17:42:05 +08:00
jianchenma
72251b880a improve package gconv for slice converting 2021-02-05 14:44:20 +08:00
John Guo
8b6d00b193 improve package gconv 2021-01-17 22:06:07 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
6f968a125e improve time converting for package gconv 2021-01-17 21:39:17 +08:00
John Guo
5c9cee7fb9 improve package gconv 2021-01-17 20:56:38 +08:00
jflyfox
b6b1bc8813 improve time converting for package gconv 2021-01-04 19:22:55 +08:00
John Guo
d9bd3153ea improve time parsing for package gtime 2021-01-03 23:37:45 +08:00
jflyfox
036bc03ebf improve error handling for package gconv 2020-12-30 13:27:27 +08:00
jflyfox
0a99bb9a7d improve gconv.Interfaces 2020-12-14 16:56:41 +08:00
John Guo
84fef8dea3 add error code feature for package gerror 2020-12-10 23:33:24 +08:00
jflyfox
569a953b43 inprove package gconv for empty string converting to number array 2020-12-09 13:39:09 +08:00
jianchenma
57a82ebcc0 improve gconv.Struct 2020-12-04 18:17:11 +08:00
Jack
ce9a0555c5 improve gconv.Interfaces by adding support for type map as its parameter 2020-12-04 14:33:47 +08:00
John
8c0a905a9f improve package gconv for custom type converting 2020-12-01 15:57:06 +08:00
Jack
5a0326f666 fix issue in unit testing case for package gconv 2020-11-30 09:07:44 +08:00
John
c56f4eabca inprove gconv.Interfaces for struct type 2020-11-29 21:34:28 +08:00
Jack
24a377d3a8 fix issue in custom mapping for gconv.Struct 2020-11-19 14:52:19 +08:00
John
d56eb49e41 improve performance for gconv.Struct/Structs using directly reflect set 2020-11-15 15:13:40 +08:00
Jack
b178210a31 fix issue in gconv.Map for embedded struct attributes converting 2020-11-10 09:53:12 +08:00
John
d178102f82 remove third party package 'structs'; improve performance for package internal/structs 2020-11-08 14:25:17 +08:00
John
e1dd5cce7d improve performance for gconv.Struct 2020-11-08 00:06:05 +08:00
John
13330658cb add function Keys/Values for package gutil 2020-11-05 23:32:56 +08:00
John
9f04e46166 mark gconv.StructDeep/StructsDeep deprecated 2020-11-05 23:02:29 +08:00
John
176dcdc7cc fix issue in gconv.Struct for json string parameter 2020-11-05 22:19:34 +08:00
Jack
cb422f043e improve slice converting for package gconv 2020-10-30 22:26:26 +08:00
Jack
4ae89dc9f6 improve package internal/structs 2020-10-30 22:04:34 +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
Jack
2eb2b89432 improve gconv.Struct* by doing the converting using json.Unmarshal if given params is json string/bytes 2020-10-21 14:09:16 +08:00
Jack
77f7884604 add function gutil.Try/g.Try;improve error string for gconv.Struct 2020-10-20 13:36:43 +08:00
John
0509e41198 recover number for unit testing case of package gconv 2020-10-10 00:04:55 +08:00
John
849874a247 improve adapter definition for package gcache 2020-10-09 20:59:49 +08:00
John
3f6510bae7 fix issue in gconv.Struct 2020-09-29 23:47:37 +08:00
John
3617e51c01 improve gdb.Model.ScanList 2020-09-28 23:52:02 +08:00
John
37b286eaa4 improve performance for gconv.Maps;comment update for package gcache 2020-09-27 22:35:02 +08:00
John
86433cef25 improve gtime.New, gconv.String 2020-09-18 23:59:49 +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
9cff2bd10f add function ParseDuration and time unit 'd' support for package gtime 2020-07-28 22:46:15 +08:00
john
f489e6273e fix issue 819 2020-07-25 10:54:48 +08:00
john
d9da51933d improve gconv.Struct 2020-07-23 21:15:54 +08:00
john
205f98cfeb improve gconv.Struct for interface UnmarshalValue 2020-07-15 23:30:07 +08:00
john
05cc0c4644 improve gconv.Struct for nil attribute interface 2020-07-14 21:34:29 +08:00
john
e1c0a92e60 improve the performance when converting struct that implements UnmarshalValue 2020-07-13 23:51:36 +08:00
john
c135122ca1 improve package gconv for detailed handling of interface attributes 2020-07-13 23:13:50 +08:00
John
4a31082f8c improve function Struct/StructDeep for package gconv 2020-07-08 11:32:35 +08:00
John
3643a69d8d improve function Struct/StructDeep for package gconv 2020-07-08 10:52:45 +08:00
John
0e025eda1b improve function Struct for package gconv 2020-07-06 22:37:37 +08:00
John
7c44bf8e94 Merge branch 'develop' of https://github.com/gogf/gf into develop 2020-07-06 21:18:51 +08:00
John
e6718f1113 improve function Struct for package gconv 2020-07-06 21:18:25 +08:00
John
3ae44185f4 add ScanList feature for gdb.Result 2020-07-05 11:23:39 +08:00
John
46bdde9265 revert gvar.Var from interface to struct 2020-06-29 13:40:19 +08:00
John
f28a76d470 merge develop 2020-06-17 23:59:20 +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
cb238cd6d9 add todo for gconv.Convert 2020-06-16 20:44:57 +08:00
John
386f38af5e improve gconv.Struct 2020-06-16 20:18:40 +08:00
John
65cea430c2 improva gconv.Struct 2020-06-16 19:30:35 +08:00
John
4d38b508a3 improve gvar by changig gvar.Var from type struct to interface 2020-06-16 17:38:05 +08:00
John
5c774fd391 improve function Structs for package gconv 2020-06-16 11:37:00 +08:00
John
5ce5d0e593 improve auto marshal for struct slice for package gredis 2020-06-15 23:19:38 +08:00
John
95a8b51fb4 improve map slice converting for package gconv 2020-06-15 18:59:18 +08:00
John
508cb7db88 add and improve Scan/ScanDeep feature for package gdb/gvar/gjson/gconv 2020-06-15 16:46:48 +08:00
John
4f699af051 improve pointer type convertion for package gconv 2020-06-09 14:19:23 +08:00
John
30501a882d improve function Struct for package gconv 2020-06-06 15:31:04 +08:00
John
cc4c49b5b0 add unit testing case for pointer attribute mapping for function Parse 2020-06-06 10:09:19 +08:00
john
dbb51a9328 improve package glist 2020-06-04 20:13:33 +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
ef1d9a561c improve the route feature for ghttp.Server 2020-06-03 00:09:51 +08:00
John
b6ab1a992c improve empty checks for common interfaces implementer 2020-05-25 14:26:08 +08:00
John
4d9db6edf0 improve package gconv for map converting 2020-05-18 20:58:19 +08:00
john
7c2cff7d99 add function GetVar for package gcache 2020-05-17 18:16:26 +08:00
John
a7504f0629 add more unit testing cases for package gdb 2020-05-13 23:21:11 +08:00
John
ec92b08f25 add function Maps for package gvar; add function GetMaps for package gjson; improve MapToMap* functions for package gconv 2020-05-04 23:42:51 +08:00
John
b79ff84c6f add struct slice conversion for request parameters for ghttp.Request; improve package gconv 2020-04-30 16:53:47 +08:00
John
1e844d505a comment update for package ghttp/gconv; readme update 2020-04-29 00:14:29 +08:00
John
6e7224e306 improve error handling for gconv.Struct/ghttp.Server; add NewSkip/NewfSkip function for package gerror 2020-04-28 15:04:07 +08:00
John
71b1f00dc5 improve package gdb/gstr/gvalid 2020-04-20 22:36:28 +08:00
John
f22da4ba3a improve gconv.MapDeep with anonymous checks for attribute struct field 2020-04-09 15:34:23 +08:00
John
23c2f12672 improve MapDeep function for package gconv; improve gjson.New function for loading struct parameter 2020-04-09 13:37:27 +08:00
John
25a91c732c improve String/Map converting for package gconv 2020-04-07 21:29:41 +08:00
John
01995f5501 improve function Marge for package garray using interface feature; improve slice converting using interface feature for package gconv 2020-04-07 21:25:52 +08:00
John
6d47810782 improve context feature for ghttp.Request; improve comment for package gjson 2020-03-21 13:32:43 +08:00
John
0b6d04485e improve unit testing cases 2020-03-19 22:56:12 +08:00
John
36401a063d improve gutil.Dump, improve sqlite file searching when opening db file 2020-03-19 13:38:42 +08:00
John
11f0317e92 add Array feature for package gdb 2020-03-11 23:17:41 +08:00
John
5acce82e63 add slice support for gconv.Map 2020-03-08 23:09:37 +08:00
John
7f0163d958 improve gconv.Struct* functions for custom types conversion 2020-03-06 23:22:08 +08:00
John
745a913cfb add FilterNil/FilterEmpty functions for package garray; add FieldsStr/FieldsExStr for gdb.Model 2020-02-22 14:26:36 +08:00
John
20b64507b1 improve string conversion for gtime.Time 2020-02-16 22:39:12 +08:00
John
cdb3b94e22 add NewWithTag function for gjson/gparser 2020-02-08 14:07:32 +08:00
John
1999ef95c1 fix issue in gconv.Struct* functions panic when converting attribute value is nil 2020-02-05 22:06:24 +08:00
John
b15075fdfe fix issue in gconv.Struct* functions panic when converting attribute value is nil 2020-02-05 22:02:49 +08:00
John
4d2b244319 fix issue in gres.UnpackContent; fix issue in gtime.NewFromTimeStamp 2020-02-04 17:09:18 +08:00
John
8f2dcf21ff improve gconv.Map 2020-01-20 21:25:55 +08:00
John
665b5960c8 fix issue in minus number converting for gconv.Int 2020-01-20 20:18:24 +08:00
John
eb6a7a4728 add function UnmarshalValue feature for package garray/gmap/gset/gtype/gvar/gjson/gconv 2020-01-20 19:56:42 +08:00
John
bc53f265af improve gconv.Map/String 2020-01-03 20:23:10 +08:00
John
27b677b0c0 improve Map converting feature for gconv; improve package gproc for local shell searching; improve JSON/XML response for ghttp.Response 2020-01-02 19:45:41 +08:00
John
e33230a88f add package gbuild 2019-12-14 17:01:27 +08:00
John
458318d374 improve prefix and word quote feature for gdb; merge develop 2019-12-12 23:54:07 +08:00
John
87295ef1fe improve process communication feature for gproc; add more slice converting functions for gconv 2019-12-11 21:22:41 +08:00
John
34ef0ea792 add prefix feature for gdb 2019-12-10 21:14:15 +08:00
John
28825f5395 add gdebug.BuildInfo function; improving gproc 2019-12-09 21:53:44 +08:00
John
6ca5141020 some improving 2019-12-08 22:55:32 +08:00
John
b3fafc64f8 improve parameter handling for ghttp.Request 2019-11-29 22:02:19 +08:00
John
7e43aa6b9d improve parameter parsing for ghtto.Request; add configuration feature for gview 2019-11-28 11:18:09 +08:00
John
4ee7c82bf1 fix issue in empty slice converting panic for gconv.Struct 2019-11-28 08:46:38 +08:00
John
85caa40a3d fix issue in empty slice converting panic for gconv.Struct 2019-11-27 23:38:33 +08:00
John
382356bc8d improve gerror for stack information; fix issue in gconv.String for nil *time.Time type 2019-11-21 21:49:00 +08:00
John
05120b585d improve configuration feature for glog/ghttp.Server 2019-11-07 11:32:25 +08:00
John
f1b7cb37c6 add configuration feature for glog 2019-10-26 10:58:07 +08:00
John
cf34d7bd56 fix issue in gconv.Interfaces; improve storage interface for gsession 2019-10-25 13:49:03 +08:00
John
d4051df5b6 improve gdb/gstr/gconv/garray 2019-10-21 19:13:25 +08:00
John
c8cf46a5a7 add Create function for gvar; add Uints/SliceUint function for gconv 2019-10-01 10:42:34 +08:00
John
987ce709e5 add UnmarshalJSON for gtime; add ineterface MapStrAny support for gjson.New 2019-09-30 17:23:23 +08:00
John
47e74d27bf add MarshalJSON function to implement the interface MarshalJSON for json.Marshal for gtype 2019-09-29 15:59:09 +08:00
John
02e467fb57 rename MapStruct* functions to MapToMap* for gconv and according packags 2019-09-19 23:23:41 +08:00
John
b1c2b9f4e0 improve gconv.Bool for NO/YES; improve gdb for model generation 2019-09-02 15:48:25 +08:00
John
fd6321e71b update donator; update unit test case for gdb; fix issue in bool convertion for []byte for gconv 2019-08-22 23:24:45 +08:00
john
7ecc47e127 adding gres package for resource feature 2019-08-10 23:36:38 +08:00
john
fda345577a add package gdebug; improve gconv/gfile/gset 2019-08-09 20:05:36 +08:00
john
3af3fd1428 fix issue in gset.Pop; improve internal/debug 2019-08-09 09:51:52 +08:00
john
c7c6e2866e add Unsafe* functions for gconv 2019-08-09 09:14:48 +08:00
John
e622f6aff2 improve gconv to support struct field of interface{} conversion 2019-08-01 19:53:28 +08:00
John
b01add2925 update project structure 2019-07-29 21:01:19 +08:00