Commit Graph

170 Commits

Author SHA1 Message Date
John Guo
99b6085235 Merge branch 'master' of https://github.com/gogf/gf 2021-09-13 16:43:20 +08:00
John Guo
006fb79967 improve package gjson; replace fmt.Errorf to gerror; improve examples for package gdb 2021-09-13 16:43:09 +08:00
houseme
adee4ac8dd fix #1389 2021-08-29 12:23:22 +08:00
John
257897763d Merge branch 'master' of https://github.com/gogf/gf 2021-08-25 00:54:47 +08:00
John Guo
a47699bf6e fix issue in unit testing case for package gjson 2021-08-24 21:34:14 +08:00
John Guo
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John
ef36cf8446 fix issue in example of package gjson 2021-08-20 23:15:48 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
5e92747737 fix issue #1291 2021-07-08 22:44:16 +08:00
John Guo
d109706ad3 unify error package to gerror 2021-06-26 18:34:26 +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
c25f88293b unify command or enviroment key names for packages 2021-06-26 12:08:18 +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
68247acab1 improve package gjson/gvar 2021-01-19 14:26:17 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
c685876e6f improve package gparser 2020-12-14 21:22:04 +08:00
John Guo
751a567e84 add Is* functions for package gvar 2020-12-14 18:54:14 +08:00
jianchenma
9b4d2d9172 fix issue in unit testing case for package gjson/gparser 2020-12-04 15:41:26 +08:00
John
8c0a905a9f improve package gconv for custom type converting 2020-12-01 15:57:06 +08:00
Jack
baf51bc68f merge develop 2020-11-18 10:57:14 +08:00
John
1a31792c14 add SpecialCharsMapOrStruct for package ghtml 2020-11-15 16:49:44 +08:00
John Guo
889e7914e2
Merge pull request #983 from coolhihi/master
Update gjson_api_new_load.go to make gjson work when sometimes the xml end with space or `\n`
2020-11-12 18:41:36 +08:00
John
d178102f82 remove third party package 'structs'; improve performance for package internal/structs 2020-11-08 14:25:17 +08:00
COoL
4df47be521 Make it work when the xml content end with \s* 2020-11-07 18:32:50 +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
John
0caf4bfcec improve gconv.StructDeep 2020-10-25 10:47:47 +08:00
John
1671391195 comment updates 2020-09-21 22:56:48 +08:00
John
28b0d59c61 improve package gcfg/gjson for data loading 2020-09-21 21:30:58 +08:00
John
ad943c5e02 improve gjson.New by using gconv.MapDeep for map/struct 2020-09-07 19:44:11 +08:00
Jack
efca9b18a8 improve content type checks for package gjson 2020-08-12 20:53:47 +08:00
Jack
607821ecbc add function LoadContentType for package gjson 2020-08-12 20:38:48 +08:00
Jack
32e4d64ddb improve package gjson for automatic content type checking 2020-08-12 00:11:25 +08:00
Jack
46e45ca84b improve package gjson for automatic content type checking 2020-08-11 23:46:21 +08:00
Jack
fcb13bd8ee improve package gjson for automatic content type checking 2020-08-11 23:36:40 +08:00
Jack
eacad9b453 improve package gjson for automatic content type checking 2020-08-11 23:22:09 +08:00
Jack
ed479e2a13 improve package gjson for automatic content type checking 2020-08-11 23:20:22 +08:00
Jack
4d501fd2f4 improve function Set for package gjson 2020-08-10 23:03:35 +08:00
chenall
937f8e6919 fix configfile with UTF8-BOM issue 2020-07-25 10:57:40 +08:00
john
4dd12434b7 add file cache feature for package gfile and remove package gfcache 2020-07-16 12:31:13 +08:00
john
64c99b9871 add configuration updating feature for package gcfg 2020-07-15 00:07:07 +08:00
John
46bdde9265 revert gvar.Var from interface to struct 2020-06-29 13:40:19 +08:00
John
2c0cfa24b0 fix issue in package gjson for struct to map converting 2020-06-18 20:40:24 +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
4d38b508a3 improve gvar by changig gvar.Var from type struct to interface 2020-06-16 17:38:05 +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
6889542801 improve package guid 2020-05-27 11:26:05 +08:00
John
4d9db6edf0 improve package gconv for map converting 2020-05-18 20:58:19 +08:00
john
caead810e2 add package guid; improve performance of package grand 2020-05-16 21:56:31 +08:00
John
47a6284274 improve package gvalid 2020-05-10 22:32:10 +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
cc67f3d388 improve package gcompress 2020-05-01 01:47:02 +08:00
John
f7c2a51c9f fix issue in zip feature for package gcompress; improve package gres 2020-05-01 00:18:45 +08:00
John
8779a3f211 add function Walk for package garray; improve comment for package garray 2020-04-18 13:30:49 +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
ccceeae29c change third party package for yaml parsing to gopkg.in/yaml.v3 2020-04-03 19:51:33 +08:00
John
ddcb7121c1 improve temporary path producing from gfile.Join to gfile.TempDir 2020-03-28 00:41:12 +08:00
John
f1f575fd5c improve package gins/gfile/intlog 2020-03-28 00:37:23 +08:00
John
75dc1d82c1 example names change 2020-03-22 12:49:46 +08:00
John
a5e048eb5f example name changes 2020-03-22 12:34:12 +08:00
John
65bc1d5eb8 comment update for package gjson 2020-03-22 09:24:45 +08:00
John
41a9e91b4c improve example for package gpage 2020-03-21 23:13:31 +08:00
John
e2c1e11f95 improve package gjson 2020-03-21 21:32:02 +08:00
John
c2966817ce improve function gdebug.TestDataPath and update all usage codes 2020-03-21 19:41:05 +08:00
John
16958413bb improve autoencode feature for package gview 2020-03-21 19:31:58 +08:00
John
6d47810782 improve context feature for ghttp.Request; improve comment for package gjson 2020-03-21 13:32:43 +08:00
John
7881b2dee4 improve unit testing cases 2020-03-20 22:34:56 +08:00
John
e57942b374 improve unit testing cases 2020-03-20 08:56:17 +08:00
John
f18e6f078c improve unit testing cases 2020-03-20 08:49:40 +08:00
John
07e65c14a9 improve unit testing cases 2020-03-19 23:53:03 +08:00
John
0b6d04485e improve unit testing cases 2020-03-19 22:56:12 +08:00
John
f3d859159d improve router group for duplicated router registering for package ghttp.Server 2020-03-17 14:48:52 +08:00
John
9f0548c03d improve testdata directory retrieving for unit testing cases 2020-03-16 22:47:39 +08:00
John
74be9fac18 add file rotation feature for package glog; improve gpool/gfpool; fix issue in gfile.MTimeMillisecond 2020-03-15 19:32:26 +08:00
John
5e489d59b4 improve HandleSqlBeforeExec function for package gdb 2020-03-09 21:53:58 +08:00
John
61f49574a9 fix issue in unit testing case for gparser 2020-03-09 20:56:10 +08:00
John
3bc3b652c1 improve unit testing case for gjson 2020-03-09 09:00:38 +08:00
John
31f19b0eee improve package gcompress 2020-03-06 15:38:32 +08:00
John
bb1c27c36a add more unit testing cases for glog 2020-02-26 23:26:24 +08:00
John
784983806a add InserIgnore feature for package gdb 2020-02-08 23:46:10 +08:00
John
cdb3b94e22 add NewWithTag function for gjson/gparser 2020-02-08 14:07:32 +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
eb6a7a4728 add function UnmarshalValue feature for package garray/gmap/gset/gtype/gvar/gjson/gconv 2020-01-20 19:56:42 +08:00
John
b867b2a0bc add return parameter name for function Cas of gtype;improve Response.Redirect* functions by adding optional parameter code 2020-01-16 21:04:28 +08:00
John
edf2366296 improve gzip feature for gcompress; add gzip compression for package gres 2020-01-15 00:15:56 +08:00
John
2bacc77224 improve JSON/XML parsing feature for ghttp.Request 2020-01-04 15:35:21 +08:00
John
fe5d2e5685 improve parameter parsing feature for ghttp.Request 2020-01-01 14:18:00 +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
4374996073 add some Must* functions for gparser/gjson/gmd5/gsha1/gbase64 2019-12-12 11:40:23 +08:00
John
34ef0ea792 add prefix feature for gdb 2019-12-10 21:14:15 +08:00
John
e6aa9d3a46 add EncodeFile/EncodeFileToString functions for gbase64 2019-10-31 14:42:01 +08:00
John
5f36614dd7 remove UseNumber for json decoding in package gjson 2019-10-09 20:33:26 +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
6c7e536eeb fix issue in gbase64/ghttp 2019-09-24 20:39:00 +08:00
John
36c2648be8 improve ghttp.Response; move gflock to new repo 2019-09-24 20:19:18 +08:00
John
3218c89f17 improve gfile/gstr/ghttp 2019-09-23 16:21:19 +08:00
John
02e467fb57 rename MapStruct* functions to MapToMap* for gconv and according packags 2019-09-19 23:23:41 +08:00