Kevin Wan
e8efcef108
update dependencies. ( #1210 )
...
* chore: update dependencies
* chore: update dependencies
* chore: update dependencies
* chore: update dependencies
* chore: fix test failure
3 years ago
yedf2
6aba5f74fc
feat: add NewSessionFromTx to interact with other orm ( #1202 )
...
Co-authored-by: yedongfu <dongfuye@163.com>
3 years ago
Kevin Wan
785d100be9
feat: slow threshold customizable in sqlx ( #1188 )
3 years ago
Kevin Wan
f13e6f1149
feat: slow threshold customizable in redis ( #1187 )
3 years ago
Kevin Wan
8be0f77d96
feat: slow threshold customizable in mongo ( #1186 )
3 years ago
Kevin Wan
429f85a9de
feat: slow threshold customizable in redis ( #1185 )
...
* feat: slow threshold customizable in redis
* chore: improve config robustness
3 years ago
Kevin Wan
e43357164c
chore: replace redis.NewRedis with redis.New ( #1103 )
3 years ago
Kevin Wan
cd21c9fa74
chore: mark redis.NewRedis as Deprecated, use redis.New instead. ( #1100 )
...
* chore: mark redis.NewRedis as Deprecated
* chore: mark redis.NewRedis as Deprecated
3 years ago
Kevin Wan
8403ed16ae
ci: add Lint check on commits ( #1086 )
...
* ci: add Lint check on commits
* ci: fix Lint script error
* test: fix go vet errors
* test: fix go vet errors, remove gofumpt to check go vet
* test: fix go vet errors, try gofumpt
* test: fix go vet errors, try gofumpt, round 1
* test: fix go vet errors, try gofumpt, round 2
* ci: fix Lint errors
3 years ago
Kevin Wan
24fd34413f
fix golint issues ( #1027 )
3 years ago
Kevin Wan
0b6bc69afa
reorg imports, format code ( #1024 )
3 years ago
Kevin Wan
5cc9eb0de4
rename sharedcalls to singleflight ( #1017 )
3 years ago
Kevin Wan
f070d447ef
refactor for better error reporting on sql error ( #1016 )
...
* refactor for better error reporting on sql error
* fix errors
* add docs
3 years ago
Kevin Wan
f6d9e19ecb
expose sql.DB to let orm operate on it ( #1015 )
...
* expose sql.DB to let orm operate on it
* add missing RawDB methods
* add NewSqlConnFromDB for cooperate with dtm
3 years ago
Kevin Wan
bf3ce16823
fix #820 ( #934 )
3 years ago
lucaq
e77747cff8
redis.go,type StringCmd = red.StringCmd ( #790 )
...
* Add Sinter,Sinterstore; Modify TestRedis_Set
* type StringCmd
* redis.go,type StringCmd = red.StringCmd
Co-authored-by: lucq <lucq@toopsoon.com>
3 years ago
Kevin Wan
5b22823018
fix bug that empty query in transaction ( #801 )
3 years ago
lucaq
c9a2a60e28
Add Sinter,Sinterstore & Modify TestRedis_Set ( #779 )
...
* Add Sinter,Sinterstore; Modify TestRedis_Set
* Update redis_test.go
fix test failure
Co-authored-by: lucq <lucq@toopsoon.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
3 years ago
Kevin Wan
aaa3623404
optimize nested conditional ( #709 )
4 years ago
Kevin Wan
aaa39e17a3
print entire sql statements in logx if necessary ( #704 )
4 years ago
Bo-Yi Wu
73906f996d
chore(format): change by gofumpt tool ( #697 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
Kevin Wan
9adc7d4cb9
fix comment function names ( #649 )
4 years ago
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
4 years ago
Kevin Wan
ee630b8b57
add code coverage ( #615 )
...
* add code coverage
* simplify redis code
4 years ago
Kevin Wan
9963ffb1c1
simplify redis tls implementation ( #606 )
4 years ago
r00mz
8cb6490724
redis增加tls支持 ( #595 )
...
* redis连接增加支持tls选项
* 优化redis tls config 写法
* redis增加tls支持
* 增加redis tls测试用例,但redis tls local server不支持,测试用例全部NotNil
Co-authored-by: liuyi <liuyi@fangyb.com>
Co-authored-by: yi.liu <yi.liu@xshoppy.com>
4 years ago
Kevin Wan
bd623aaac3
support postgresql ( #583 )
...
support postgresql
4 years ago
hanhotfox
c954568b61
Hdel support for multiple key deletion ( #542 )
...
* Hdel support for multiple key deletion
* Hdel field -> fields
Co-authored-by: duanyan <duanyan@xiaoheiban.cn>
4 years ago
Kevin Wan
39540e21d2
fix golint issues ( #540 )
4 years ago
hexiaoen
b321622c95
暴露redis EvalSha 以及ScriptLoad接口 ( #538 )
...
Co-authored-by: shanehe <shanehe@zego.im>
4 years ago
kingxt
a25cba5380
fix collection breaker ( #537 )
...
* fix collection breaker
* optimized
* optimized
* optimized
4 years ago
Kevin Wan
791e76bcf0
fix broken build ( #528 )
4 years ago
Kevin Wan
c566b5ff82
fix golint issues in core/stores ( #527 )
4 years ago
Zcc、
fdeacfc89f
add redis bitmap command ( #490 )
...
Co-authored-by: zhoudeyu <zhoudeyu@xiaoheiban.cn>
4 years ago
Kevin Wan
c376ffc351
fix golint issues in core/filex ( #485 )
4 years ago
Kevin Wan
802549ac7c
fix golint issues in core/executors ( #484 )
4 years ago
Zcc、
72580dee38
redis add bitcount ( #483 )
...
Co-authored-by: zhoudeyu <zhoudeyu@xiaoheiban.cn>
4 years ago
Kevin Wan
457048bfac
fix golint issues in core/collection, refine cache interface ( #475 )
4 years ago
Kevin Wan
03b5fd4a10
fix golint issues ( #458 )
4 years ago
Kevin Wan
5e969cbef0
fix golint issues, else blocks ( #457 )
4 years ago
Kevin Wan
42883d0899
fix golint issues, redis methods ( #455 )
4 years ago
Kevin Wan
06f6dc9937
fix golint issues, package comments ( #454 )
4 years ago
Kevin Wan
745e76c335
add more tests for stores ( #446 )
4 years ago
Kevin Wan
852891dbd8
add more tests for stores ( #445 )
4 years ago
Kevin Wan
316195e912
add more tests for mongoc ( #443 )
4 years ago
Kevin Wan
8e889d694d
add more tests for sqlx ( #442 )
...
* add more tests for sqlx
* add more tests for sqlx
4 years ago
Kevin Wan
c282bb1d86
add more tests for sqlx ( #440 )
4 years ago
Kevin Wan
b88ba14597
fixes issue #425 ( #438 )
4 years ago
Kevin Wan
30f5ab0b99
update readme for broken links ( #432 )
4 years ago
foyon
8b273a075c
Support redis command Rpop ( #431 )
...
* ss
* ss
* add go-zero:stores:redis-command:Rpop and redis_test
* Delete 1.go
* support redis command Rpop
Co-authored-by: fanhongyi <fanhongyi@tal.com>
4 years ago