John Guo
|
6eee72b336
|
refract package gredis
|
2021-09-23 21:23:22 +08:00 |
|
John Guo
|
a2c5c577db
|
fix issue #1412
|
2021-09-23 19:29:20 +08:00 |
|
John Guo
|
6fa0ad5793
|
gredis refract
|
2021-09-23 19:12:02 +08:00 |
|
John Guo
|
2e49c33cc7
|
remove depecated functions from package ghttp
|
2021-09-19 23:13:53 +08:00 |
|
jianchenma
|
01a3dd1eb0
|
add function gerror.HasStack; rename all api* interfaces to i*
|
2021-09-17 19:26:56 +08:00 |
|
John Guo
|
28f70d52ee
|
add context parameter for all functions of package gcache
|
2021-09-17 10:48:08 +08:00 |
|
John Guo
|
1455e30350
|
change returned value by Get* and Update/Remove functions from type interface{} to *gvar.Var for package gcache
|
2021-09-16 22:13:00 +08:00 |
|
John Guo
|
55a9c0738b
|
improve package gcache, add GetVar*/RemoveVar/UpdateVar functions for package gcache
|
2021-09-16 20:57:59 +08:00 |
|
John Guo
|
101db282c2
|
fix issue #1401
|
2021-09-15 22:28:26 +08:00 |
|
John Guo
|
68e760d13a
|
fix issue @1380
|
2021-09-15 21:17:45 +08:00 |
|
John Guo
|
64a5cedcdf
|
fix recover logic
|
2021-09-14 20:47:06 +08:00 |
|
John Guo
|
727f58a24b
|
remove usage of gconv.Unsafe* functions internally to avoid unexpected errors
|
2021-09-14 19:30: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 |
|
John Guo
|
73d2b7ed06
|
fix issue #1387
|
2021-08-30 22:26:02 +08:00 |
|
John Guo
|
549adf6487
|
improve unit testing case for package gdb
|
2021-08-27 20:35:35 +08:00 |
|
John Guo
|
b5502c5580
|
revert and use
|
2021-08-27 20:26:07 +08:00 |
|
John Guo
|
fa7a3e987d
|
improve With feature for package gdb
|
2021-08-27 20:16:29 +08:00 |
|
John Guo
|
f9eaa8f930
|
fix issue of nested transaction missing in function operations for package gdb
|
2021-08-25 22:31:59 +08:00 |
|
John Guo
|
6be582355c
|
improve DB.Close for package gdb
|
2021-08-25 10:58:29 +08:00 |
|
John Guo
|
29d50994ae
|
add function Close for DB for package gdb
|
2021-08-24 22:59:25 +08:00 |
|
John Guo
|
abc8e62d58
|
add package gcode and improve error implements for package gerror
|
2021-08-24 21:18:59 +08:00 |
|
John Guo
|
feefcc98ef
|
improve condition parameter of struct by sequence for package gdb
|
2021-08-19 14:11:28 +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
|
f03f56ba4e
|
improve gconv.Struct for map attribute converting
|
2021-08-19 11:28:25 +08:00 |
|
John Guo
|
903f29a824
|
add OmitNil feature for package gdb
|
2021-08-13 11:28:47 +08:00 |
|
John Guo
|
7b9888c004
|
add FieldCount/FieldSum/FieldMax/FieldMin/FieldAvg functions for gdb.Model
|
2021-08-12 19:42:44 +08:00 |
|
John Guo
|
91dd9e2bf9
|
auto update value of time field if given time value is zero for package gdb
|
2021-08-10 20:30:32 +08:00 |
|
John Guo
|
232751e3db
|
improve context key and caller path&func outputs for logger of package glog
|
2021-08-10 15:46:40 +08:00 |
|
John Guo
|
1c600d5b20
|
revert ORM logger from interface to glog.Logger
|
2021-08-10 15:36:15 +08:00 |
|
John Guo
|
dc407bf293
|
merge develop
|
2021-08-07 12:04:31 +08:00 |
|
John Guo
|
9cd944fd77
|
improve time maintaining feature for package gdb
|
2021-08-07 11:01:15 +08:00 |
|
John Guo
|
65fff6feae
|
version updates
|
2021-08-04 13:29:06 +08:00 |
|
John Guo
|
685bf56a30
|
fix issue #1325
|
2021-08-03 22:21:20 +08:00 |
|
John Guo
|
a4497ed547
|
improve gdb.Modle for where holder
|
2021-08-03 21:32:05 +08:00 |
|
John Guo
|
28cb0bef25
|
change logger of DB from glog.Logger to interface Logger
|
2021-08-03 20:34:26 +08:00 |
|
John Guo
|
a2bb8ad2f2
|
add more unit testing case for package gdb
|
2021-08-02 21:13:00 +08:00 |
|
John Guo
|
fddc21670a
|
add condition and order-by feature for with tag feature for package gdb
|
2021-08-02 00:38:56 +08:00 |
|
John Guo
|
fa64df6f91
|
improve package gdb/glog
|
2021-08-01 10:33:33 +08:00 |
|
John Guo
|
0acd118c03
|
add ModelHandler feature for package gdb
|
2021-08-01 10:17:03 +08:00 |
|
John Guo
|
2b5244a54b
|
unit testing cases update for package gredis/glog
|
2021-08-01 09:45:46 +08:00 |
|
John Guo
|
5899f676f7
|
Merge pull request #1347 from stardemo/develop
add basic action scripts
|
2021-08-01 09:17:31 +08:00 |
|
jflyfox
|
ef77a54c7e
|
improve OmitEmpty feature for package gdb; mark package gmvc deprecated
|
2021-07-30 14:58:23 +08:00 |
|
John Guo
|
afb0af4afd
|
add example for package gvalid
|
2021-07-30 11:29:48 +08:00 |
|
John Guo
|
ebe90dcaa8
|
fix issue in Cache Penetration for cache feature of package gdb
|
2021-07-21 19:24:16 +08:00 |
|
starliu
|
6240c3d90b
|
disabled error test case to test action
|
2021-07-20 23:35:07 +08:00 |
|
John Guo
|
0ddacdd7e2
|
add error code for components
|
2021-07-20 23:02:02 +08:00 |
|
John Guo
|
88009ee278
|
fix issue #1341
|
2021-07-15 22:19:00 +08:00 |
|
jflyfox
|
141ba2e951
|
update pgsql pri error #1340
|
2021-07-15 14:53:21 +08:00 |
|
John Guo
|
fbfc23211c
|
fix issue in Counter of package gdb
|
2021-07-13 19:37:16 +08:00 |
|
John Guo
|
046749566d
|
update sql of unit testing case for package gdb
|
2021-07-08 23:06:58 +08:00 |
|
John Guo
|
3b1b8a8306
|
Merge branch 'master' of https://github.com/gogf/gf
|
2021-07-08 22:44:29 +08:00 |
|
John Guo
|
5e92747737
|
fix issue #1291
|
2021-07-08 22:44:16 +08:00 |
|
John Guo
|
82ad7e2acc
|
add more unit testing case for package gdb
|
2021-07-08 22:08:45 +08:00 |
|
John Guo
|
2d319d0856
|
update sql of unit testing cases for package gdb
|
2021-07-08 21:46:21 +08:00 |
|
John Guo
|
c060904f3f
|
Merge pull request #1328 from lgyaxx/patch-1
Update gdb_model_fields.go
|
2021-07-08 21:18:42 +08:00 |
|
John Guo
|
a63c4b6441
|
add more unit testing case for package gdb
|
2021-07-08 21:06:49 +08:00 |
|
John Guo
|
9df860a202
|
fix issue #1292
|
2021-07-08 21:02:36 +08:00 |
|
Eagle
|
2a1634fd6f
|
Update gdb_model_fields.go
annotation typo fix
|
2021-07-08 15:42:51 +08:00 |
|
John Guo
|
2970864158
|
fix issue #1240
|
2021-07-06 21:18:26 +08:00 |
|
John Guo
|
8e76d7a8ed
|
improve function TableFileds for gussing table name from table string;add overwrote function DoInsert for mssql/pgsql/oracle/sqlite for unsupported features
|
2021-07-06 20:59:09 +08:00 |
|
John Guo
|
50e5dd5bd0
|
fix issue in fields filtering for table name with as statement
|
2021-07-06 13:14:33 +08:00 |
|
John Guo
|
d109706ad3
|
unify error package to gerror
|
2021-06-26 18:34:26 +08:00 |
|
John Guo
|
b958689264
|
add CtxStrict feature for package gdb
|
2021-06-26 18:20:55 +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
|
65131c6f22
|
add automatic fields mapping and filtering for Model.Where statements
|
2021-06-23 12:04:16 +08:00 |
|
John Guo
|
7667aca4c2
|
improve Order feature for package gdb
|
2021-06-23 09:42:10 +08:00 |
|
John Guo
|
816791b9c1
|
improve function Increment/Decrement for package gdb
|
2021-06-23 09:34:53 +08:00 |
|
John Guo
|
d6ea2220f7
|
add auto fields filtering feature for function Scan of package gdb; mark funtcion Struct/Structs deprecated for gdb.Model
|
2021-06-22 21:48:56 +08:00 |
|
John Guo
|
69dd5db774
|
improve record converting for package gdb
|
2021-06-22 20:05:37 +08:00 |
|
jflyfox
|
adca9222ab
|
improve transaction feature for package gdb
|
2021-06-22 17:42:31 +08:00 |
|
John Guo
|
266f592739
|
improve raw sql count statement for package gdb
|
2021-06-21 19:21:38 +08:00 |
|
John Guo
|
ba18e2bf6b
|
comment update
|
2021-06-21 09:37:12 +08:00 |
|
John Guo
|
5fefe97b87
|
add Raw Model for package gdb
|
2021-06-18 15:27:49 +08:00 |
|
John Guo
|
5fba250a14
|
add Raw Model for package gdb
|
2021-06-18 15:20:27 +08:00 |
|
John Guo
|
2606ad83ac
|
add OnDuplicate/OnDuplicateEx feature for package gdb
|
2021-06-16 21:51:44 +08:00 |
|
John Guo
|
d450de8e0d
|
add OnDuplicate/OnDuplicateEx feature for package gdb
|
2021-06-16 21:44:31 +08:00 |
|
John Guo
|
2af4fd86cc
|
rename configuration node name from LinkInfo to Link
|
2021-06-15 19:57:55 +08:00 |
|
John Guo
|
fe7209e76d
|
rename HandleSqlBeforeCommit to DoCommit for package gdb
|
2021-06-08 21:55:55 +08:00 |
|
John Guo
|
97879834bc
|
remove deprecated functions for package gdb
|
2021-06-08 21:28:41 +08:00 |
|
John Guo
|
332535901f
|
Merge branch 'master' of https://github.com/gogf/gf
|
2021-06-08 20:32:52 +08:00 |
|
John Guo
|
e68e7a3224
|
remove Batch*/DoBatchInsert functions for package gdb
|
2021-06-08 20:32:34 +08:00 |
|
qinyuguang
|
6eb7261dfd
|
add timezone configuration for package gdb, effective for mysql and pgsql
|
2021-06-07 13:45:40 +08:00 |
|
John Guo
|
3ac5772059
|
add UNION/UNION ALL feature for package gdb
|
2021-06-06 23:06:39 +08:00 |
|
John Guo
|
8aa7f08350
|
improve DB interface for package gdb
|
2021-06-04 09:54:19 +08:00 |
|
John Guo
|
a54559d016
|
add WhereLT/WhereLTE/WhereGT/WhereGTE/WhereOrLT/WhereOrLTE/WhereOrGT/WhereOrGTE functions for gdb.Model
|
2021-06-04 09:27:41 +08:00 |
|
John Guo
|
8e1f6abac5
|
change github.com/go-sql-driver/mysql to github.com/gogf/mysql
|
2021-06-03 15:38:33 +08:00 |
|
John Guo
|
392c81ad69
|
remove Link parameter from function TableFields for package gdb
|
2021-05-29 17:26:08 +08:00 |
|
John Guo
|
fe142c93fd
|
add function Transaction for gdb.Model
|
2021-05-29 17:07:49 +08:00 |
|
John Guo
|
5100e0e8b7
|
add sub-query feature for orm
|
2021-05-27 22:18:16 +08:00 |
|
John Guo
|
5903eb8ceb
|
fix issue #1254
|
2021-05-25 09:56:23 +08:00 |
|
John Guo
|
211e62a8e7
|
add timestamptz type support for pgsql for package gdb
|
2021-05-24 13:30:04 +08:00 |
|
John Guo
|
64a9b06e64
|
comment update
|
2021-05-23 00:02:49 +08:00 |
|
jflyfox
|
6d81aa4462
|
infract internal link
|
2021-05-21 15:38:56 +08:00 |
|
jflyfox
|
406b6bf410
|
infract internal link
|
2021-05-21 15:30:21 +08:00 |
|
John Guo
|
4e41d8aff8
|
improve context and nested transaction feature for package gdb
|
2021-05-21 13:25:53 +08:00 |
|
John Guo
|
7d3233c7ad
|
add context for custom validation rule function;add function WhereNot for gdb.Model
|
2021-05-19 22:33:50 +08:00 |
|
John Guo
|
3e2662582c
|
improve nested transaction feature for package gdb
|
2021-05-19 21:17:21 +08:00 |
|
John Guo
|
c94dee8191
|
improve nested transaction feature for package gdb
|
2021-05-19 21:11:51 +08:00 |
|
John Guo
|
ab2ef13d99
|
improve transaction for package gdb
|
2021-05-19 20:33:19 +08:00 |
|
John Guo
|
c8c28770fb
|
change Error from struct to interface for package gvalid;error string update for package gdb
|
2021-05-18 20:51:31 +08:00 |
|
John Guo
|
7003c284d0
|
replace json.Unmarshal with json.UnmarshalUseNumber for packages
|
2021-05-15 22:38:07 +08:00 |
|
John Guo
|
d21b9d58e1
|
improve with feature by supporting attributes struct which also have 'with' tag
|
2021-05-12 21:34:15 +08:00 |
|
John Guo
|
1eab1cb367
|
add more unit testing cases,remove function Filter usage in unit testing cases for package gdb
|
2021-05-11 20:14:06 +08:00 |
|
John Guo
|
2e38416e12
|
improve struct embedded association case of with feature for package gdb
|
2021-05-11 20:00:50 +08:00 |
|
John Guo
|
742653ce75
|
improve Model function for struct parameter that can retrieve table name tag from
|
2021-05-02 23:28:24 +08:00 |
|
John Guo
|
a8c3d07d9f
|
improve with feature for package gdb
|
2021-05-02 22:35:47 +08:00 |
|
John Guo
|
4b15ab5e99
|
improve OrderRandom function for package gdb
|
2021-05-02 16:42:34 +08:00 |
|
John Guo
|
cdc97e9b2b
|
improve logging for transaction feature for package gdb
|
2021-05-02 15:58:28 +08:00 |
|
John Guo
|
bd84b97614
|
add more Where*/Min/Max/Avg/Sum/CountColumn/Increment/Decrement/OrderAsc/OrderDesc/OrderRandom functions and associated unit testing cases for package gdb
|
2021-05-02 12:17:06 +08:00 |
|
John Guo
|
d7eb1cca07
|
add nested transaction feature for package gdb
|
2021-05-02 09:35:54 +08:00 |
|
John Guo
|
49dd17c047
|
remove maxIdleTime feature due to be compatible with old Golang version <= v1.14
|
2021-04-04 12:13:51 +08:00 |
|
John Guo
|
a3b94c24de
|
fix issue #854; add maxIdleTime configuration and comments update for package gdb; version updates
|
2021-04-04 12:01:22 +08:00 |
|
John Guo
|
78027d2ec6
|
deprecated comments update
|
2021-03-30 13:43:08 +08:00 |
|
John Guo
|
bb6883213f
|
fix issue #1202
|
2021-03-24 22:04:04 +08:00 |
|
John Guo
|
54395b39a6
|
fix issue #1202
|
2021-03-24 21:19:23 +08:00 |
|
John Guo
|
c423ad4830
|
fix issue in gfile.MainPkgPath;improve fields filter for package gdb
|
2021-03-23 14:21:54 +08:00 |
|
jianchenma
|
6a24b595f0
|
upgrade otel from 0.16.0 to 0.18.0
|
2021-03-18 10:39:23 +08:00 |
|
John Guo
|
7702c5bfde
|
add internal logging for package gdb/gredis
|
2021-03-11 11:39:49 +08:00 |
|
John Guo
|
ae0cc5a4b6
|
add more unit testing case for ScanList feature
|
2021-03-04 20:45:05 +08:00 |
|
John Guo
|
ba74e0beb2
|
improve ScanList of the same replation names for package gdb
|
2021-03-04 00:07:06 +08:00 |
|
John Guo
|
1c7f034135
|
Merge branch 'master' of https://github.com/gogf/gf
|
2021-03-02 23:32:50 +08:00 |
|
John Guo
|
4c78ce6e3f
|
fix issue #1187
|
2021-03-02 23:27:50 +08:00 |
|
turc
|
0e6cddb547
|
去除cancelFunc避免退出之前关闭mysqlConn导致数据获取不完整
|
2021-03-01 01:43:53 +08:00 |
|
John Guo
|
d2bd37962e
|
add unit testing case of UnmarshalValue for struct converting of querying result; improve package gdb
|
2021-02-27 23:58:36 +08:00 |
|
John Guo
|
5adde275fc
|
add switch variable for internal type tracing components
|
2021-02-14 22:00:56 +08:00 |
|
John Guo
|
a3fa10d820
|
great! completed 'with' feature for package gdb
|
2021-02-09 18:00:43 +08:00 |
|
John Guo
|
acf47f3907
|
orm with feature
|
2021-02-08 17:57:21 +08:00 |
|
John Guo
|
b4d5335e43
|
add package gmeta for embedded struct of meta data feature
|
2021-02-07 21:23:09 +08:00 |
|
jflyfox
|
39fb842e9b
|
Merge branch 'master' into feature/ormwith
|
2021-02-07 15:34:50 +08:00 |
|
jflyfox
|
397e11e124
|
improve package gdb for association feature
|
2021-02-07 14:39:32 +08:00 |
|
jflyfox
|
f4314c318e
|
up
|
2021-02-07 10:40:02 +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
|
3b2bae6128
|
improve soft deletion for package gdb
|
2021-02-03 23:11:17 +08:00 |
|
John Guo
|
ae559b57de
|
fix dryrun configuration for package gdb
|
2021-02-03 22:46:59 +08:00 |
|
jianchenma
|
813841bb68
|
rename GetWithEnv to GetOptWithEnv for packge gcmd
|
2021-02-02 15:16:09 +08:00 |
|
John Guo
|
e6b4662ec2
|
improve tracing feature
|
2021-02-01 17:10:50 +08:00 |
|
John Guo
|
6e4e1abf1e
|
improve tracing by adding constants for attribute and event names
|
2021-01-27 20:25:57 +08:00 |
|
John Guo
|
2c15aad0e7
|
add common tracing labels
|
2021-01-27 19:50:32 +08:00 |
|
John Guo
|
8f6f17c341
|
add common tracing labels
|
2021-01-27 19:15:14 +08:00 |
|
jianchenma
|
f2fe084988
|
improve tracing feature
|
2021-01-27 13:28:12 +08:00 |
|
John Guo
|
1c93c2b000
|
merge develop
|
2021-01-26 21:19:43 +08:00 |
|
jianchenma
|
c72c7dbe9a
|
improve tracing feature
|
2021-01-26 16:06:20 +08:00 |
|
jianchenma
|
52c17dfce0
|
add example for tracing feature
|
2021-01-26 14:33:35 +08:00 |
|
jianchenma
|
0baa52afee
|
improve statement features for package gdb
|
2021-01-26 11:09:50 +08:00 |
|
jianchenma
|
4c6d9f5eff
|
improve tracing feture for package glog/gdb/gredis
|
2021-01-26 01:19:55 +08:00 |
|
jianchenma
|
99dd889ff0
|
add tracing feature for package gredis
|
2021-01-25 21:59:44 +08:00 |
|
jianchenma
|
b89d8d2740
|
add tracing feature for package gdb
|
2021-01-25 21:17:32 +08:00 |
|
John Guo
|
9f2e69a9e6
|
improve model relation feature for package gdb
|
2021-01-25 00:04:01 +08:00 |
|