1a7450b9e9
v2.0.0-beta
2021-11-14 11:36:59 +08:00
684fa9b9c9
Merge pull request #1467 from 564104865/zhiwei
...
update cache
2021-11-11 23:53:45 +08:00
4e91039254
Update gcache_z_example_cache_test.go
2021-11-11 23:37:01 +08:00
195e167502
Update gcache_z_example_cache_test.go
2021-11-11 23:29:29 +08:00
01a50b06cb
Update gcache_z_example_cache_test.go
2021-11-11 22:32:08 +08:00
9b663b4c2b
Update gcache_z_example_cache_test.go
2021-11-11 22:18:01 +08:00
655426c322
Update gcache_z_example_cache_test.go
2021-11-11 21:19:33 +08:00
ae27afaeb4
Merge branch 'zhiwei' of https://github.com/564104865/gf into zhiwei
2021-11-10 16:46:20 +08:00
30f462288e
Update gcache_z_example_cache_test.go
2021-11-10 16:39:26 +08:00
4862505c5e
Merge branch 'gogf:master' into zhiwei
2021-11-10 16:37:56 +08:00
31d793fafb
improve example for package gqueue
2021-11-10 00:20:00 +08:00
be274478d0
Merge branch 'zhiwei' of https://github.com/564104865/gf into zhiwei
2021-11-09 20:47:28 +08:00
5b8c91a877
Merge branch 'gogf:master' into zhiwei
2021-11-09 20:46:12 +08:00
95a4690e69
improve error feature for package gvalid
2021-11-09 17:50:14 +08:00
e0a0fcbde2
improve cache feature for package gdb
2021-11-09 16:06:31 +08:00
02e1d01f29
improve RuleFunc for package gvalid
2021-11-09 15:22:17 +08:00
e0db3c87cf
improve RuleFunc for package gvalid
2021-11-09 14:31:16 +08:00
903299728f
update Must Cache
2021-11-09 11:46:53 +08:00
c617ad6a04
Merge branch 'gogf:master' into zhiwei
2021-11-09 11:38:05 +08:00
814649e7a3
Merge branch 'master' of https://github.com/gogf/gf
2021-11-08 19:51:45 +08:00
d1b69142c4
improve unit testing case for package gcache
2021-11-08 19:51:32 +08:00
2d1593f78e
Merge branch 'zhiwei' of https://github.com/564104865/gf into zhiwei
2021-11-08 12:12:15 +08:00
d61f7af60c
update cache adapter
2021-11-08 12:12:10 +08:00
65140d1293
Merge branch 'gogf:master' into zhiwei
2021-11-08 12:11:19 +08:00
85299cd447
Merge pull request #1466 from mingzaily/master
...
add examples for container gqueue
2021-11-07 21:53:24 +08:00
091df972f1
improve example for package gcache
2021-11-07 21:52:27 +08:00
748040fb0b
improve group router for package ghttp
2021-11-07 21:31:33 +08:00
df02ca764f
add size example for gqueue
2021-11-07 16:52:28 +08:00
6f64c26349
Merge branch 'gogf:master' into master
2021-11-07 16:40:20 +08:00
072355dc2c
Merge branch 'zhiwei' of https://github.com/564104865/gf into zhiwei
2021-11-07 16:05:17 +08:00
3ca2cad449
improve gutil.Dump
2021-11-07 00:32:16 +08:00
05bb81cd71
Merge branch 'master' of https://github.com/gogf/gf
2021-11-07 00:16:52 +08:00
fd9246358a
Merge branch 'feature/gconv.ScanList' into develop
2021-11-07 00:16:26 +08:00
42c4b32720
add gconv.ScanList
2021-11-07 00:16:14 +08:00
2757647211
Revert "11"
...
This reverts commit 45787dd8e4 .
2021-11-06 20:31:47 +08:00
45787dd8e4
11
2021-11-06 20:31:16 +08:00
38b797b42f
finish example for gqueue
2021-11-06 16:27:17 +08:00
e8f6ebc154
Merge branch 'gogf:master' into master
2021-11-06 16:12:38 +08:00
e715ce0625
Merge pull request #1450 from DGuang21/feature-regex-example
...
add examples for package gregex
2021-11-06 11:35:15 +08:00
aceb586bef
Merge pull request #1461 from Evil-king/master
...
add examples for InitSet of package gset
2021-11-06 11:34:17 +08:00
15f9b69b36
fix
2021-11-06 06:38:28 +08:00
b036767fc0
📝 add example
2021-11-06 01:47:00 +08:00
b967cf6224
📝 add example
2021-11-06 01:16:51 +08:00
1a596fe84d
📝 add example
2021-11-06 00:54:10 +08:00
64fa8d5282
📝 add example
2021-11-06 00:49:15 +08:00
99d2186c8c
📝 add example
2021-11-06 00:06:56 +08:00
24f759e00e
📝 add example
2021-11-05 23:56:08 +08:00
66731c9c66
Merge pull request #1459 from visualsun/master
...
Create garray_z_example_sorted_str_test.go
2021-11-05 23:27:56 +08:00
e5ec9cd676
Merge pull request #1452 from 564104865/zhiwei
...
gcache Examples
2021-11-05 23:24:20 +08:00
e7b63839c8
Update garray_z_example_sorted_str_test.go
2021-11-05 19:31:11 +08:00
2511c378f2
Create garray_z_example_int_test.go
2021-11-05 17:02:28 +08:00
12514a0311
Update garray_z_example_sorted_str_test.go
2021-11-05 14:45:04 +08:00
5b83b2375e
Update gcache_z_example_cache_test.go
2021-11-05 09:41:49 +08:00
98d72fae25
Merge branch 'gogf:master' into zhiwei
2021-11-05 09:38:41 +08:00
4f2a22dd0e
Merge branch 'master' of https://github.com/gogf/gf
2021-11-05 01:15:30 +08:00
4acc0e9876
gconv.ScanList
2021-11-05 01:15:11 +08:00
7be24776d5
Merge branch 'develop' of https://github.com/gogf/gf into develop
2021-11-05 01:07:19 +08:00
485706a676
improve ScanList feature for package gdb
2021-11-05 01:07:06 +08:00
ea7d963f20
IntSet
2021-11-05 00:56:59 +08:00
613958a4b6
IntSet finish
2021-11-05 00:50:44 +08:00
44023ea91d
Merge pull request #1453 from Evil-king/master
...
gstrset Example Finish
2021-11-05 00:21:15 +08:00
ef7f7e35f8
update review
2021-11-05 00:04:24 +08:00
613a50428b
Update gcache_z_example_cache_test.go
2021-11-04 23:23:40 +08:00
3091f61a26
update ExampleStrSet_Remove
2021-11-04 22:26:17 +08:00
5776b2596d
Create garray_z_example_sorted_str_test.go
2021-11-04 22:17:32 +08:00
430102c995
update
2021-11-04 22:11:09 +08:00
2a2bb4f1e1
improve the example document
2021-11-04 21:39:28 +08:00
205243e8b9
update
2021-11-04 21:02:54 +08:00
d16ce643fd
Merge branch 'zhiwei' of https://github.com/564104865/gf into zhiwei
2021-11-04 20:58:19 +08:00
e94eb8f668
Merge branch 'gogf:master' into zhiwei
2021-11-04 20:56:02 +08:00
357084e788
update cache
2021-11-04 20:55:01 +08:00
9a757acc88
Merge pull request #1438 from danvinhe/bugfix/i1435
...
Bugfix/i1435
2021-11-04 20:38:58 +08:00
3fb1c07eac
Merge pull request #1454 from visualsun/master
...
Update garray_z_example_str_test.go
2021-11-04 20:29:33 +08:00
6050b14087
Update garray_z_example_str_test.go
2021-11-04 20:11:54 +08:00
58c1c1bb16
Merge pull request #1455 from huangqian1985/develop
...
Validator Rule Example
2021-11-04 19:33:06 +08:00
b6f6ab17f9
go fmt
2021-11-03 23:50:57 +08:00
7bcba437a0
update cache values
2021-11-03 23:44:16 +08:00
abf199bf61
Merge branch 'gogf:master' into zhiwei
2021-11-03 23:29:31 +08:00
9ea2db5c81
fix
2021-11-03 23:17:04 +08:00
7a6fb4a807
Merge branch 'master' of https://github.com/gogf/gf
2021-11-03 23:14:08 +08:00
c3a75f5568
logging content update for package gdb
2021-11-03 23:13:11 +08:00
c850c420fd
fixCi
2021-11-03 23:06:24 +08:00
e045aaaf07
Merge branch 'master' of https://github.com/gogf/gf into develop
2021-11-03 23:05:23 +08:00
0cd40caf0c
Merge branch 'gogf:master' into master
2021-11-03 22:57:44 +08:00
f2bb9d65c3
edit review
2021-11-03 22:49:30 +08:00
4e05795642
Modify variable name
2021-11-03 22:38:31 +08:00
1df52637e8
Merge pull request #1429 from osgochina/master
2021-11-03 22:38:21 +08:00
b83362cc2e
Update garray_z_example_str_test.go
2021-11-03 22:34:43 +08:00
274052511c
Complete the following verification rule example method
...
1.mac 2.url 3.domain 4.size 5.length 6.min-length 7.max-length 8.between 9.min 10.max 11.json 12.integer 13.float 14.boolean 15.regex
2021-11-03 22:20:05 +08:00
32bc1ec064
Merge pull request #1432 from danvinhe/hotfix/i1421
...
Hotfix/i1421
2021-11-03 22:08:30 +08:00
5fa62e02c6
Update garray_z_example_str_test.go
2021-11-03 18:08:44 +08:00
bf3c3367a6
Update garray_z_example_str_test.go
2021-11-03 17:14:49 +08:00
9c05682605
change some example for gqueue
2021-11-03 16:16:03 +08:00
8f090739d9
go fmt
2021-11-03 15:23:51 +08:00
7971177c58
newredis
2021-11-03 15:16:07 +08:00
5707763758
Merge branch 'gogf:master' into zhiwei
2021-11-03 15:07:32 +08:00
35a786d765
Update gdb_func.go
2021-11-03 15:05:25 +08:00
12fe41e34d
Merge branch 'master' into bugfix/i1435
2021-11-03 15:04:22 +08:00
5ffd362b6e
Update glog_logger.go
...
多了个空格
2021-11-03 15:02:21 +08:00
a423fba2a8
comment or be unexported
...
exported method Redis.UpdateExpire should have comment or be unexported
2021-11-03 14:59:28 +08:00
41d0832fa5
Merge branch 'master' into hotfix/i1421
2021-11-03 14:55:02 +08:00
5e7b0c9303
Merge branch 'master' of https://github.com/gogf/gf
2021-11-03 13:27:49 +08:00
0c43e7986f
improve function gutil.Dump/DumpWithType
2021-11-03 13:27:37 +08:00
bc1d76a796
add example for gqueue
2021-11-03 11:41:34 +08:00
6b9f72d973
📝 add example
2021-11-03 11:28:54 +08:00
d980cff663
📝 add example
2021-11-03 11:22:17 +08:00
7de69db707
232234
2021-11-03 10:16:41 +08:00
5e34aee2d7
example over
2021-11-03 00:49:06 +08:00
797719d8d5
Complete the following verification rule example method
...
1. passport 2.password 3.password2 4.password3 5.postcode 6.resident-id 7.bank-card 8.qq 9.ip 10.ipv4 11.ipv6
2021-11-02 23:47:25 +08:00
6c3aa6ede5
📝 add example
2021-11-02 20:08:15 +08:00
18459ec1bc
Merge pull request #1449 from mingzaily/master
...
Example for glist
2021-11-02 19:37:47 +08:00
e727788f42
Merge branch 'gogf:master' into master
2021-11-02 14:33:13 +08:00
3df7711e74
complete example for glist
2021-11-02 14:31:34 +08:00
c1f856fa8e
update
2021-11-02 13:27:54 +08:00
a3eff53c69
Modify "date" rule Example
2021-11-02 11:22:34 +08:00
56c12ad7c3
fix unit testing case for pakage gfile
2021-11-02 09:56:53 +08:00
77a0f59cd3
add automatic adding OmitNil option for data and where filtering if given struct name is defined like 'xxxForDao'
2021-11-02 09:55:37 +08:00
94768530cc
Complete the following verification rule example method
...
1. datetime 2.date-format 3.email 4.phone 5.phone-loose 6.telephone
2021-11-02 00:03:44 +08:00
79a233eb78
example&comment update
2021-11-01 19:46:39 +08:00
183d800f4c
📝 add example
2021-11-01 12:17:53 +08:00
191ad20436
Complete the following verification rule example method
...
1. date
2021-10-31 23:16:54 +08:00
c0c68d1e46
rename Println -> Print for package glog
2021-10-30 20:47:38 +08:00
ac6968edf1
improve Dump feature
2021-10-30 20:35:55 +08:00
e22e1d0e4a
remove function Println from package glog
2021-10-30 19:44:22 +08:00
42e27dd14c
add context parameter for package grpool
2021-10-30 18:09:58 +08:00
d817047c98
remove Logger interface from package gdb
2021-10-30 16:12:51 +08:00
e15cd6ae89
fix issue in package gcache
2021-10-30 16:00:38 +08:00
17e6063c5c
add neccessary parameter context for package gcron/gtimer
2021-10-30 15:36:10 +08:00
a8b2a2ff33
Merge remote-tracking branch 'origin/develop' into develop
2021-10-29 22:46:00 +08:00
4b3eb09492
Complete the following verification rule example method
...
1. required 2.required-if 3.required-unless 4.required-with 5.required-with-all 6.required-without 7.required-without-all 8.same 9.different 10.in 11.not-in
2021-10-29 22:44:35 +08:00
d1c09cb21d
完成以下校验规则示例方法
...
1. required 2.required-if 3.required-unless 4.required-with 5.required-with-all 6.required-without 7.required-without-all 8.same 9.different 10.in 11.not-in
2021-10-29 22:37:38 +08:00
1188793f8f
automatically add column prefix for where conditions
2021-10-29 16:57:56 +08:00
09b8df1818
add WherePrefix/WhereOrPrefix for gdb.Model
2021-10-29 15:49:08 +08:00
6192d32501
add LeftJoinOnField/InnerJoinOnField/InnerJoinOnField/FieldsPrefix/FieldsExPrefix for package gdb
2021-10-29 15:12:31 +08:00
a6a8d787e4
merge IgnoreEmptySliceWhere feature into OmitEmptyWhere
2021-10-29 10:50:14 +08:00
e5c6d3f777
fix issue in unit testing cases for package gjson
2021-10-28 23:46:24 +08:00
1bfa792ea9
fix context canceled error while propagate context from http.Request
2021-10-28 23:37:51 +08:00
8ef4f68215
add IgnoreEmptySliceWhere feature for package gdb; add OriginValueAndKind/OriginTypeAndKind functions for package internal/utils
2021-10-28 23:18:23 +08:00
493f5dcff2
remove unused functions for package gdb
2021-10-27 15:41:15 +08:00
2cf84e020f
add automatically detectting feature for 'in' attribute of parameters for package goai;add 'datetime' rule for package gvalid
2021-10-27 15:33:29 +08:00
a19ba3d530
add embedded struct fields overwrite feature for package internal/structs
2021-10-26 21:57:56 +08:00
e0674ee7fe
improve openapi implements
2021-10-25 21:23:47 +08:00
2481435829
improve openapi implements
2021-10-25 21:06:24 +08:00
e48b565e18
improve openapi implements
2021-10-25 20:36:09 +08:00
f6c2206b88
improve logging content field name from selected/updated to rows
2021-10-25 19:50:52 +08:00
4717e01708
replace gopkg.in/yaml.v2 with gopkg.in/yaml.v3
2021-10-25 19:17:56 +08:00
17861fc45d
add short tags for default for package goai
2021-10-25 14:25:35 +08:00
a92c31168a
add short tags for summary/description for package goai
2021-10-25 10:50:01 +08:00
940dcfb8c4
v2.0.0-alpha
2021-10-22 17:54:53 +08:00
8dd9483572
fix issue in unit testing case for package gview
2021-10-22 14:09:08 +08:00
4e7b33bde3
fix issue in unit testing case for package gview
2021-10-22 13:14:48 +08:00
977780736f
improve gutil.Dump
2021-10-21 22:07:43 +08:00
aacfa1bd96
add short typed tag mapping for summary/description for package goai;add suffix checks for request/response struct naming
2021-10-21 20:17:02 +08:00
862ef57e0f
fix unit testing cases
2021-10-21 19:25:39 +08:00
fa5499373a
replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg
2021-10-21 18:22:47 +08:00
f901f19714
Parameters of type gdb.Raw do not require special treatment
2021-10-15 17:45:30 +08:00
6bde7c61b4
openapi
2021-10-14 15:03:39 +08:00
085c887b33
openapi
2021-10-13 22:34:52 +08:00
920c97af79
openapi
2021-10-13 22:28:49 +08:00
f887c9f44b
improve package gmeta
2021-10-12 17:52:31 +08:00
18ceebeffd
filter key updates for stack information
2021-10-12 17:25:45 +08:00
854747574d
fix issue in package gcfg
2021-10-12 16:15:52 +08:00
7eb3b32b26
fix unit testing cases
2021-10-11 21:53:16 +08:00
54dd11f511
README update
2021-10-11 21:43:27 +08:00
1bc0635f8b
version 2
2021-10-11 21:41:56 +08:00
bea54b445e
add context for validation functions of package gvalid
2021-10-11 21:34:19 +08:00
bc735fee51
openapi
2021-10-11 20:39:13 +08:00
82175b5de9
rename gctx.Value/WithValue to CtxId/WithCtxId
2021-10-11 20:25:02 +08:00
cefa3638cf
openapi
2021-10-11 19:59:15 +08:00
cbfd92a21d
add common request structure feature support for openapi
2021-10-11 17:10:55 +08:00
310e178206
add common response structure feature support for openapi
2021-10-11 16:55:38 +08:00
e0c4f7ccbf
Fixed : #1421
2021-10-09 18:32:59 +08:00
17904bccd0
openapi
2021-10-08 21:23:30 +08:00
5b2f40a454
openapi
2021-10-08 21:16:47 +08:00
b1113c328a
openapi
2021-10-08 17:05:11 +08:00
26d823bd81
openapi
2021-10-08 16:32:40 +08:00
5a5809bd95
修复gini的bug。
...
当ini的配置值中含有"="时候,不能正确解析。
2021-10-08 16:17:58 +08:00
c225a15746
openapi
2021-10-08 16:02:53 +08:00
edd62f3b4f
openapi
2021-10-08 15:37:17 +08:00
73e4a69383
openapi
2021-10-08 14:44:10 +08:00
5e32e8868e
openapi
2021-10-08 11:42:28 +08:00
d430f2f52e
openapi
2021-10-08 11:40:47 +08:00
51dbd133a4
openapi generating feature
2021-10-06 21:51:21 +08:00
4eb48660df
openapi generating feature
2021-10-06 21:11:16 +08:00
d66d8585a2
openapi generating feature
2021-10-06 20:44:34 +08:00
89661301b0
fix issue for unit testing case for package ghttp
2021-10-06 20:16:18 +08:00
5d804987b9
add alias g.Meta for gmeta.Meta
2021-10-06 20:11:54 +08:00
892d3abf38
openapi generating feature
2021-10-06 19:52:19 +08:00
4a1a8c9fc5
openapi generating feature
2021-10-06 15:24:01 +08:00
18ede3ae1f
improve error information for package goai
2021-10-06 15:03:00 +08:00
9ed79e9e86
openapi generating for ghttp.Server
2021-10-06 14:52:29 +08:00
5a7555a6ec
fix issue in goai for recursive attribute
2021-10-06 14:45:29 +08:00
82d04d612b
fix openapi specification generating; improve handler type
2021-10-06 14:22:58 +08:00
9f2eeb23ba
print error stack in faltal error for ghttp.Server
2021-10-06 12:12:59 +08:00
c84e79a46d
improve swagger ui feature for package ghttp
2021-10-06 11:54:53 +08:00
337c2d0953
filter issue in internal/structs
2021-10-06 11:10:35 +08:00
71189c8fb0
improve converting performance for equal type converting
2021-10-03 00:58:57 +08:00
322f5933ad
add build-in swagger ui support for ghttp.Server
2021-10-03 00:22:06 +08:00
1e80dc71eb
add automatic generating for OpenApi specification for ghttp.Server routes
2021-10-02 22:34:39 +08:00
198a6c8e33
add package goai for OpenAPIv3 support
2021-10-02 18:54:06 +08:00
0fdb935c3d
add package goai for OpenAPIv3 support
2021-10-02 15:07:47 +08:00
dcafba8a2d
add package goai for OpenAPIv3 support
2021-10-02 14:52:28 +08:00
131214151c
add context for Client of package ghttp
2021-09-30 14:06:46 +08:00
dd4e08e88d
refract package gdb; add selected & affected count to logging
2021-09-29 20:39:02 +08:00
b7b4067973
fix issue in unit testing case of package internal/structs
2021-09-29 19:18:27 +08:00
02478371f2
fix issue missing org tag value retrieving when using struct in Fields for package gdb
2021-09-28 22:02:08 +08:00
750972e7c6
fix unit testing cases
2021-09-28 19:04:36 +08:00
a9d7dc68a3
remove usage of package gparser
2021-09-27 23:05:46 +08:00
0a828aaed3
Merge branch 'v2_release' into develop
2021-09-27 22:52:28 +08:00
f2bab9777d
comment update for package gvalid
2021-09-27 22:52:14 +08:00
993bf897cf
remove deprecated functions; refract package gjson
2021-09-27 22:47:39 +08:00
df09d8c604
refract package ghttp/gredis/glog
2021-09-27 21:27:24 +08:00
5904a1e7c0
refract package gredis
2021-09-26 23:22:32 +08:00
b826ed6b03
Merge branch 'gogf:master' into master
2021-09-24 10:25:38 +08:00
6eee72b336
refract package gredis
2021-09-23 21:23:22 +08:00
a2c5c577db
fix issue #1412
2021-09-23 19:29:20 +08:00
6fa0ad5793
gredis refract
2021-09-23 19:12:02 +08:00
2891c8e29d
Merge branch 'gogf:master' into master
2021-09-23 19:05:53 +08:00
c3b3258194
update dependencies clbanning/mxj,grokify/html-strip-tags-go,gopkg.in/yaml to stable version
2021-09-22 19:43:52 +08:00
ef0aeb363b
comment update for paxkage gcache; improve package gbuild
2021-09-22 19:29:08 +08:00
c843661dfd
Merge branch 'develop' of https://github.com/gogf/gf into develop
2021-09-22 19:12:44 +08:00
b2629b9bfa
comment update for package gtrace
2021-09-22 19:12:31 +08:00
ad2b3e6cc6
Merge branch 'master' of https://github.com/houseme/gf into develop
2021-09-22 19:04:22 +08:00
cbe704333a
[feature] upgrade opentelemetry version v1.0.0 map to string
2021-09-22 14:54:42 +08:00
45b45517c8
[feature] upgrade opentelemetry version v1.0.0
2021-09-21 23:53:03 +08:00
9d67cb4f34
[feature] upgrade opentelemetry version v1.0.0
2021-09-21 15:15:37 +08:00
fe2eccfda4
remove usage of package unsafe for package gtype/grand
2021-09-20 12:58:10 +08:00
81e54be0c1
readme update
2021-09-20 12:29:05 +08:00
2e49c33cc7
remove depecated functions from package ghttp
2021-09-19 23:13:53 +08:00
e01e8dd4a2
github ci action updates
2021-09-19 10:50:31 +08:00
a1297b0402
github ci action updates
2021-09-19 10:36:43 +08:00
53db88c630
comment update for package gsession
2021-09-19 10:18:58 +08:00
c99c13acd1
refract pacakge gcfg, adding adapter interface for pacakge gcfg
2021-09-19 10:01:09 +08:00
01a3dd1eb0
add function gerror.HasStack; rename all api* interfaces to i*
2021-09-17 19:26:56 +08:00
5383672d78
change returned parameter from interface{} to *gvar.Var for gsession.Sessio.Get; remove Get* function excluding Get for gsession.Session
2021-09-17 11:15:00 +08:00
28f70d52ee
add context parameter for all functions of package gcache
2021-09-17 10:48:08 +08:00
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
b46e9bb68a
improve package gcache
2021-09-16 21:17:03 +08:00
55a9c0738b
improve package gcache, add GetVar*/RemoveVar/UpdateVar functions for package gcache
2021-09-16 20:57:59 +08:00
101db282c2
fix issue #1401
2021-09-15 22:28:26 +08:00
ac78b2fa50
fix ci issue
2021-09-15 21:46:58 +08:00
e877eab033
fix ci issue
2021-09-15 21:21:29 +08:00
68e760d13a
fix issue @1380
2021-09-15 21:17:45 +08:00
64a5cedcdf
fix recover logic
2021-09-14 20:47:06 +08:00
40fedea408
Merge branch 'master' of https://github.com/gogf/gf
2021-09-14 20:25:33 +08:00
ffedfb7c0c
improve package gproc for customize environment variables when creating process
2021-09-14 20:25:23 +08:00
cc08ceb797
improve package gring; remove function LockIteratorNext/LockIteratorPrev from package gring
2021-09-14 20:15:21 +08:00
053e4f2fc8
Merge pull request #1395 from houseme/master
...
[feature] upgrade opentelemetry v1.0.0-RC3
2021-09-14 20:15:01 +08:00
727f58a24b
remove usage of gconv.Unsafe* functions internally to avoid unexpected errors
2021-09-14 19:30:20 +08:00
99b6085235
Merge branch 'master' of https://github.com/gogf/gf
2021-09-13 16:43:20 +08:00
006fb79967
improve package gjson; replace fmt.Errorf to gerror; improve examples for package gdb
2021-09-13 16:43:09 +08:00
5820e6ebe1
Merge branch 'gogf:master' into master
2021-09-13 15:11:01 +08:00
0776c35ddb
upgrade toml version 0.4.1
2021-09-08 05:43:04 +08:00
471a37ef00
upgrade toml version 0.4.1
2021-09-08 05:41:44 +08:00
1242733735
[feature] upgrade opentelemetry v1.0.0-RC3
2021-09-04 14:27:38 +08:00
077a41911b
Merge pull request #1390 from houseme/master
...
fix #1389
2021-09-03 10:54:03 +08:00
cc60bc9dab
fix issue printing to stdout using fmt.Fprintf for package glog
2021-09-01 16:14:17 +08:00
425ca8aa3e
improve process comminucation folder creating for package gproc
2021-09-01 15:02:58 +08:00
73d2b7ed06
fix issue #1387
2021-08-30 22:26:02 +08:00
0048e2c8c4
improve package gstr
2021-08-30 14:29:04 +08:00
adee4ac8dd
fix #1389
2021-08-29 12:23:22 +08:00
549adf6487
improve unit testing case for package gdb
2021-08-27 20:35:35 +08:00
b5502c5580
revert and use
2021-08-27 20:26:07 +08:00
46bf669cdd
Merge branch 'master' of https://github.com/gogf/gf
2021-08-27 20:16:41 +08:00
fa7a3e987d
improve With feature for package gdb
2021-08-27 20:16:29 +08:00
b316b9c073
example updates for package gcache
2021-08-27 01:01:41 +08:00
5b57c35522
comment updates for package gcache
2021-08-27 00:01:15 +08:00
e0a3233ea3
improve package gcron
2021-08-26 00:11:27 +08:00
1b588b14d8
Merge branch 'master' of https://github.com/gogf/gf
2021-08-25 23:46:16 +08:00
2c839db941
Merge pull request #1372 from gzhmt-developer/master
...
fix tcp http demo error content-length
2021-08-25 23:42:30 +08:00
f9eaa8f930
fix issue of nested transaction missing in function operations for package gdb
2021-08-25 22:31:59 +08:00
59397fd8a5
add buildin function add/minus/times/divide for package gview
2021-08-25 20:00:53 +08:00
6be582355c
improve DB.Close for package gdb
2021-08-25 10:58:29 +08:00
257897763d
Merge branch 'master' of https://github.com/gogf/gf
2021-08-25 00:54:47 +08:00
29d50994ae
add function Close for DB for package gdb
2021-08-24 22:59:25 +08:00
b129ee3f04
fix issue in unit testing case for package ghttp
2021-08-24 21:35:49 +08:00
a47699bf6e
fix issue in unit testing case for package gjson
2021-08-24 21:34:14 +08:00
66b8b591df
fix issue in missing import for package gcode
2021-08-24 21:31:15 +08:00
7b47fe96dd
update version of third-party redigo from v2.0.0+incompatible to v1.8.5
2021-08-24 21:22:58 +08:00
abc8e62d58
add package gcode and improve error implements for package gerror
2021-08-24 21:18:59 +08:00
ef36cf8446
fix issue in example of package gjson
2021-08-20 23:15:48 +08:00
c5345239fc
improve logging content for package gcron
2021-08-20 15:49:45 +08:00
a229960218
add context id feature for package gctx/glog
2021-08-20 15:44:08 +08:00
43180ef239
improve package gcron
2021-08-20 14:09:15 +08:00
e10240bd7c
improve package gcron
2021-08-20 11:52:22 +08:00
a0ef6fce81
add bacth registering function Map for package ghttp
2021-08-19 20:59:08 +08:00
314bee2b4e
remove context key printing into logging content for context feature of package glog
2021-08-19 15:35:41 +08:00
050c93ee8d
Merge branch 'develop' of https://github.com/gogf/gf
2021-08-19 14:12:04 +08:00
feefcc98ef
improve condition parameter of struct by sequence for package gdb
2021-08-19 14:11:28 +08:00
8f4ce91361
improve condition parameter of struct by sequence for package gdb
2021-08-19 14:09:31 +08:00
f03f56ba4e
improve gconv.Struct for map attribute converting
2021-08-19 11:28:25 +08:00
457d552fa0
add UnmarshalJSON interface support for package gconv
2021-08-17 16:51:29 +08:00
be2fcf7f57
add UnmarshalJSON interface support for package gconv
2021-08-17 16:30:47 +08:00
ad6c4f5245
improve session storage for package gsession
2021-08-16 21:47:45 +08:00
db621e38d9
improve ServeFile/ServeFileDownload for package ghttp
2021-08-16 20:30:58 +08:00
170af1ab00
Merge pull request #1374 from wangle201210/develop
...
add func SetWriterColorEnable for file log color
2021-08-15 23:52:10 +08:00
31ef4e7b5a
fmt
2021-08-13 13:27:43 +08:00
f56f689970
fmt
2021-08-13 13:24:28 +08:00
17b73e7cb3
add func SetWriterColorEnable for file log color
2021-08-13 13:20:33 +08:00
903f29a824
add OmitNil feature for package gdb
2021-08-13 11:28:47 +08:00
12f2193963
improve handler feature for package glog
2021-08-12 22:14:31 +08:00
13ecbc263e
improve handler feature for package glog
2021-08-12 21:58:06 +08:00
7b9888c004
add FieldCount/FieldSum/FieldMax/FieldMin/FieldAvg functions for gdb.Model
2021-08-12 19:42:44 +08:00
91cd4f96f0
Update gtcp_conn.go
2021-08-12 10:50:46 +08:00
95a44122dd
comment update for package glog
2021-08-12 10:47:05 +08:00
2bd76dfdde
go fmt code
2021-08-12 09:35:57 +08:00
26895294f9
Merge pull request #1 from gzhmt-developer/ansionfor-patch-1
...
fix tcp demo error content-length
2021-08-12 00:23:04 +08:00
4cd4559784
fix tcp demo error content-length
2021-08-12 00:21:36 +08:00
3fc96f2bd0
add package gctx
2021-08-11 13:20:00 +08:00
91dd9e2bf9
auto update value of time field if given time value is zero for package gdb
2021-08-10 20:30:32 +08:00
9c5642f141
fix issue in border value checks for gstr.CompareVersion/CompareVersionGo
2021-08-10 19:29:54 +08:00
00f0a743fc
add function TestDataContent for package gdebug
2021-08-10 17:20:15 +08:00
232751e3db
improve context key and caller path&func outputs for logger of package glog
2021-08-10 15:46:40 +08:00
1c600d5b20
revert ORM logger from interface to glog.Logger
2021-08-10 15:36:15 +08:00
9bc3b44a61
version updates
2021-08-09 19:30:16 +08:00
83729f18ad
Merge branch 'develop'
2021-08-09 19:29:46 +08:00
fdb6e70322
comment update for package glog
2021-08-09 19:29:11 +08:00
efaf3d591c
comment update for package glog
2021-08-09 19:25:23 +08:00
ef50eb6d6b
comment update for package ghttp
2021-08-09 19:16:37 +08:00
fb5a1f2306
Merge pull request #1369 from wangle201210/develop
...
fix print log on windows
2021-08-09 19:16:24 +08:00
9d4382d12e
fmt
2021-08-08 16:58:15 +08:00
9ee76ecc93
fix print log on windows
2021-08-08 16:23:25 +08:00
0d2ca48d16
update comment and standardize const naming for package gproc
2021-08-08 14:05:27 +08:00
f1857df5e2
comment update for package glog
2021-08-08 13:56:26 +08:00
fc1dfb7ff9
comment update;standardize const naming for package gtcp/gudp
2021-08-08 13:10:21 +08:00
dc407bf293
merge develop
2021-08-07 12:04:31 +08:00
4eb057227c
add SizeFormat function for package gfile; add more internal logging for rotation feature for pacakge glog
2021-08-07 11:59:30 +08:00
9cd944fd77
improve time maintaining feature for package gdb
2021-08-07 11:01:15 +08:00
cd3593182a
improve package gerror/ghttp for error code handling
2021-08-07 10:44:57 +08:00
0f6820df9e
add more unit testing case for package gtimer
2021-08-06 14:13:37 +08:00
0e158903c2
improve package gtimer for priority checks
2021-08-06 12:08:49 +08:00
214d0513e5
Merge branch 'develop' of https://github.com/gogf/gf into develop
2021-08-05 19:15:31 +08:00
75ca866991
fix issue in ghttp.Server
2021-08-05 19:15:18 +08:00
f22aa1b5d6
Merge pull request #1361 from jroam/fixbug-garray
2021-08-05 13:09:31 +08:00
00d7ee93b2
improve package gerror
2021-08-05 11:40:31 +08:00
537cbf983e
edit some function annotations
2021-08-04 23:35:29 +08:00
4c54b1cfbc
improve errcode feature for package gerror
2021-08-04 20:50:45 +08:00
e9ea58df64
Merge branch 'master' of https://github.com/gogf/gf
2021-08-04 13:29:17 +08:00
65fff6feae
version updates
2021-08-04 13:29:06 +08:00
dbded5e753
Merge pull request #1365 from stardemo/master
...
Update Readme ,Github Action badge
2021-08-04 13:15:02 +08:00
3043645605
Update Readme ,Github Action badge
2021-08-03 23:29:34 +08:00
685bf56a30
fix issue #1325
2021-08-03 22:21:20 +08:00
a4497ed547
improve gdb.Modle for where holder
2021-08-03 21:32:05 +08:00
28cb0bef25
change logger of DB from glog.Logger to interface Logger
2021-08-03 20:34:26 +08:00
114cdb2351
improve package gtimer
2021-08-03 19:37:25 +08:00
a2bb8ad2f2
add more unit testing case for package gdb
2021-08-02 21:13:00 +08:00
5a4de52900
fix invalid separator char in packing with prefix folder string in OS widnows for package gres
2021-08-02 19:58:04 +08:00
ff70e54e3e
fix unit testing case for package gtrace
2021-08-02 09:50:44 +08:00
fddc21670a
add condition and order-by feature for with tag feature for package gdb
2021-08-02 00:38:56 +08:00
f02372cf58
improve package gvalid
2021-08-01 23:50:44 +08:00
ab5f809074
go.sum updates
2021-08-01 22:13:20 +08:00
121c1a0125
Merge branch 'develop' of https://github.com/gogf/gf into develop
2021-08-01 22:13:00 +08:00
7678540270
add bail rule for package gvalid
2021-08-01 22:12:44 +08:00
248e6ff134
bugfix garray Sort
2021-08-01 15:19:48 +08:00
839ebd5b51
Merge pull request #1360 from houseme/master
...
Update go.mod
2021-08-01 11:29:36 +08:00
fa64df6f91
improve package gdb/glog
2021-08-01 10:33:33 +08:00
0acd118c03
add ModelHandler feature for package gdb
2021-08-01 10:17:03 +08:00
2b5244a54b
unit testing cases update for package gredis/glog
2021-08-01 09:45:46 +08:00
2472dd5fac
github action updates
2021-08-01 09:33:12 +08:00
5899f676f7
Merge pull request #1347 from stardemo/develop
...
add basic action scripts
2021-08-01 09:17:31 +08:00
bb57dc1ae7
improve request context feature for package ghttp
2021-08-01 09:17:37 +08:00
5a6c2c27df
inject Request object into context
2021-07-30 17:17:13 +08:00
9f096fc63d
improve error code for package gerror
2021-07-30 16:21:45 +08:00
4267aadd78
remove controller feature from package ghttp
2021-07-30 15:15:44 +08:00
ef77a54c7e
improve OmitEmpty feature for package gdb; mark package gmvc deprecated
2021-07-30 14:58:23 +08:00
afb0af4afd
add example for package gvalid
2021-07-30 11:29:48 +08:00
9be92cc3d4
garray代码规范化
2021-07-28 22:18:06 +08:00
15aabfb4e7
Update go.mod
...
update otel v1.0.0-RC1 to otel v1.0.0-RC2
2021-07-28 21:32:08 +08:00
c83e899f1f
add go version matrix
2021-07-22 09:29:26 +08:00
ebe90dcaa8
fix issue in Cache Penetration for cache feature of package gdb
2021-07-21 19:24:16 +08:00
1c3ae11eba
Update go.yml
2021-07-21 11:18:10 +08:00
b718aa88a2
add report && i386 test
2021-07-21 00:02:15 +08:00
6240c3d90b
disabled error test case to test action
2021-07-20 23:35:07 +08:00
c78f9d19f5
Update go.yml
2021-07-20 23:26:53 +08:00
0ddacdd7e2
add error code for components
2021-07-20 23:02:02 +08:00
f8486474aa
fix scripts path
2021-07-19 23:23:24 +08:00
906c54ce61
add basic action scripts
2021-07-19 23:20:51 +08:00
f72d991c36
rename attribute names from lower-camel case to upper-camel case
2021-07-19 20:06:44 +08:00
528f0e5434
Merge branch 'feature/new-register-type' into develop
2021-07-19 19:41:09 +08:00
88009ee278
fix issue #1341
2021-07-15 22:19:00 +08:00
b192b7dd60
remove internal logging for package gtimer
2021-07-15 21:46:56 +08:00
03d51bd18c
add internal logging for package gtimer
2021-07-15 21:40:26 +08:00
5c6c932a75
merge master
2021-07-15 21:23:36 +08:00
92c3c136f9
improve color feature for package glog
2021-07-15 21:20:29 +08:00
5069436fd2
Merge pull request #1346 from goflyfox/dev
...
update pgsql pri error #1340
2021-07-15 21:18:52 +08:00
141ba2e951
update pgsql pri error #1340
2021-07-15 14:53:21 +08:00
fae4dea37a
improve color feature for package glog
2021-07-15 13:31:32 +08:00
860b22aba4
Merge pull request #1312 from wangle201210/develop
...
add log level prefix color
2021-07-15 09:16:27 +08:00
30dbccf99e
输出对应err
2021-07-14 21:28:23 +08:00
9b2497bc57
Merge branch 'develop-up' into develop
...
* develop-up: (38 commits)
revert gerror usage for package gvalid
unify error package to gerror
add CtxStrict feature for package gdb
rename constants of package gpage from skake to upper camel case
add context for intlog
improve Record/Result converting for package gdb
add context for intlog/gsession;improve struct/structs converting for package gconv
unify command or enviroment key names for packages
improve details for package glog
add file configuration support for logger in ghttp.Server
version updates
add more unit testing cases for package ghttp
add automatic fields mapping and filtering for Model.Where statements
improve Order feature for package gdb
improve function Increment/Decrement for package gdb
add auto fields filtering feature for function Scan of package gdb; mark funtcion Struct/Structs deprecated for gdb.Model
improve record converting for package gdb
improve transaction feature for package gdb
improve caller path filtering for package gdebug
improve caller path filtering for package gdebug
...
# Conflicts:
# os/glog/glog_logger.go
# os/glog/glog_logger_config.go
# os/glog/glog_logger_level.go
2021-07-14 21:12:18 +08:00
0140808460
add handler extension feature for package ghttp
2021-07-13 23:01:31 +08:00
84aa30d9c2
允许日志文件中添加颜色
2021-07-13 22:45:35 +08:00
bc724deb5e
日志内容区分文件和控制台输出
2021-07-13 21:43:07 +08:00
fbfc23211c
fix issue in Counter of package gdb
2021-07-13 19:37:16 +08:00
3d4d3a763a
comment update for package gfsnotify
2021-07-12 22:05:03 +08:00
046749566d
update sql of unit testing case for package gdb
2021-07-08 23:06:58 +08:00
3b1b8a8306
Merge branch 'master' of https://github.com/gogf/gf
2021-07-08 22:44:29 +08:00
5e92747737
fix issue #1291
2021-07-08 22:44:16 +08:00
82ad7e2acc
add more unit testing case for package gdb
2021-07-08 22:08:45 +08:00
2d319d0856
update sql of unit testing cases for package gdb
2021-07-08 21:46:21 +08:00
c060904f3f
Merge pull request #1328 from lgyaxx/patch-1
...
Update gdb_model_fields.go
2021-07-08 21:18:42 +08:00
a63c4b6441
add more unit testing case for package gdb
2021-07-08 21:06:49 +08:00
9df860a202
fix issue #1292
2021-07-08 21:02:36 +08:00
2a1634fd6f
Update gdb_model_fields.go
...
annotation typo fix
2021-07-08 15:42:51 +08:00
2970864158
fix issue #1240
2021-07-06 21:18:26 +08:00
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
50e5dd5bd0
fix issue in fields filtering for table name with as statement
2021-07-06 13:14:33 +08:00
7e2605188d
improve session variable map in template parsing
2021-07-06 09:58:25 +08:00
e5ae1cb85c
improve session variable map in template parsing
2021-07-06 09:53:35 +08:00
1e78734f2c
remove gf cli from basic framework
2021-06-30 20:43:49 +08:00
d5fad88c56
gf cli updates
2021-06-30 20:16:49 +08:00
35a81b868f
gf cli updates
2021-06-30 20:08:25 +08:00
84355c1ddd
gf cli updates
2021-06-30 20:07:46 +08:00
012121ea77
gf cli updates
2021-06-30 20:00:50 +08:00
1e628b9edb
move command tool from repo gf-cli to sub folder
2021-06-30 00:15:52 +08:00
bfdeb6c4f5
log color兼容win环境
2021-06-29 21:05:46 +08:00
c42a9d6e50
Merge pull request #1316 from qinyuguang/otel
...
Otel
2021-06-29 13:05:38 +08:00
083e32fd9e
otel version bump to v1.0.0-RC1
2021-06-28 13:36:37 +08:00
2a350fd3ab
merge develop
2021-06-28 13:15:40 +08:00
03928f1977
add logging level prefix with color or not config
2021-06-28 00:58:35 +08:00
a2771c7558
format code
2021-06-28 00:23:25 +08:00
968e1db94d
add log level prefix color
2021-06-28 00:00:44 +08:00
bb0a3e09d6
revert gerror usage for package gvalid
2021-06-26 18:44:59 +08:00
d109706ad3
unify error package to gerror
2021-06-26 18:34:26 +08:00
b958689264
add CtxStrict feature for package gdb
2021-06-26 18:20:55 +08:00
859ea150ed
rename constants of package gpage from skake to upper camel case
2021-06-26 17:00:32 +08:00
91ca79b300
add context for intlog
2021-06-26 16:51:26 +08:00
8210f40469
improve Record/Result converting for package gdb
2021-06-26 16:46:36 +08:00
50ffaef33f
add context for intlog/gsession;improve struct/structs converting for package gconv
2021-06-26 16:23:54 +08:00
c25f88293b
unify command or enviroment key names for packages
2021-06-26 12:08:18 +08:00
025cdd66c5
improve details for package glog
2021-06-26 11:25:54 +08:00
237f172ae5
add file configuration support for logger in ghttp.Server
2021-06-26 11:18:44 +08:00
4cd7e4e5a0
version updates
2021-06-23 21:57:13 +08:00
e6688b9e86
add more unit testing cases for package ghttp
2021-06-23 21:39:12 +08:00
65131c6f22
add automatic fields mapping and filtering for Model.Where statements
2021-06-23 12:04:16 +08:00
7667aca4c2
improve Order feature for package gdb
2021-06-23 09:42:10 +08:00
816791b9c1
improve function Increment/Decrement for package gdb
2021-06-23 09:34:53 +08:00
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
69dd5db774
improve record converting for package gdb
2021-06-22 20:05:37 +08:00
adca9222ab
improve transaction feature for package gdb
2021-06-22 17:42:31 +08:00
7144aa6999
improve caller path filtering for package gdebug
2021-06-22 15:34:26 +08:00
fbad5f60eb
improve caller path filtering for package gdebug
2021-06-22 15:09:08 +08:00
266f592739
improve raw sql count statement for package gdb
2021-06-21 19:21:38 +08:00
7c8bbcb3af
version update
2021-06-21 09:38:19 +08:00
ba18e2bf6b
comment update
2021-06-21 09:37:12 +08:00
5fefe97b87
add Raw Model for package gdb
2021-06-18 15:27:49 +08:00
5fba250a14
add Raw Model for package gdb
2021-06-18 15:20:27 +08:00
2606ad83ac
add OnDuplicate/OnDuplicateEx feature for package gdb
2021-06-16 21:51:44 +08:00
d450de8e0d
add OnDuplicate/OnDuplicateEx feature for package gdb
2021-06-16 21:44:31 +08:00
e4b0de0d4f
Merge branch 'master' of https://github.com/gogf/gf
2021-06-15 19:58:10 +08:00
2af4fd86cc
rename configuration node name from LinkInfo to Link
2021-06-15 19:57:55 +08:00
ddd171bc18
Merge pull request #1284 from qinyuguang/gutil
...
add gutil.SliceToMapWithColumnAsKey
2021-06-11 09:52:30 +08:00
5ef4ef61f0
Merge pull request #1280 from imloama/develop
2021-06-11 09:50:17 +08:00
2679f92aa8
comment update for package gerror
2021-06-10 20:45:22 +08:00
cca438d77f
fix issue #1209
2021-06-10 20:17:53 +08:00
f2bc29e5c1
add gutil.SliceToMapWithColumnAsKey
2021-06-09 18:49:49 +08:00
fe7209e76d
rename HandleSqlBeforeCommit to DoCommit for package gdb
2021-06-08 21:55:55 +08:00
7c4a0453b7
improve handler feature for package glog
2021-06-08 21:35:54 +08:00
97879834bc
remove deprecated functions for package gdb
2021-06-08 21:28:41 +08:00
332535901f
Merge branch 'master' of https://github.com/gogf/gf
2021-06-08 20:32:52 +08:00
e68e7a3224
remove Batch*/DoBatchInsert functions for package gdb
2021-06-08 20:32:34 +08:00
b935a8c652
fix merge conflicts for gdb_driver_pgsql
2021-06-08 09:20:22 +08:00
65befd5ac4
Merge pull request #1276 from qinyuguang/gdb_config_timezone
...
add timezone configuration for package gdb
2021-06-07 20:01:06 +08:00
78bdb5ef71
Merge pull request #1277 from weicut/master
...
Fixed incorrect type conversion
2021-06-07 19:58:27 +08:00
6eb7261dfd
add timezone configuration for package gdb, effective for mysql and pgsql
2021-06-07 13:45:40 +08:00
4f82be5bc0
Fixed incorrect type conversion
2021-06-07 10:17:23 +08:00
3ac5772059
add UNION/UNION ALL feature for package gdb
2021-06-06 23:06:39 +08:00
eb723e47c2
fix issue in gconv.MapDeep
2021-06-05 08:58:54 +08:00
8aa7f08350
improve DB interface for package gdb
2021-06-04 09:54:19 +08:00
a54559d016
add WhereLT/WhereLTE/WhereGT/WhereGTE/WhereOrLT/WhereOrLTE/WhereOrGT/WhereOrGTE functions for gdb.Model
2021-06-04 09:27:41 +08:00
8e1f6abac5
change github.com/go-sql-driver/mysql to github.com/gogf/mysql
2021-06-03 15:38:33 +08:00
f3983cd6b7
feat: pg查询表字段时获取字段描述信息
2021-04-28 14:51:40 +08:00
799e8214f8
Merge remote-tracking branch 'upstream/master'
2020-12-28 11:06:38 +08:00
e3b8f374e5
Merge pull request #1 from gogf/master
...
pr from gf
2020-07-17 16:27:51 +08:00