Commit Graph

231 Commits (f8adc7152911b6b750fb16d3426f55373754bf31)

Author SHA1 Message Date
MarkJoyMa c05e03bb5a
feat: add metrics (#3624) 1 year ago
Kevin Wan 172ff407f3
chore: refactor mongo logs (#3660) 1 year ago
shenbaise9527 a242fec5e1
feat: support for disable mon logs like sqlx (#3606)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
1 year ago
Kevin Wan 42e0a6f90c
chore: refactor errors to use errors.Is (#3654) 1 year ago
Kevin Wan d71c0da7b7
chore: refactor error comparison (#3629) 1 year ago
Ikko Eltociear Ashimine b731aa38af
refactor: update builder.go (#3620) 1 year ago
Kevin Wan abd1fa96a9
fix: UpdateStmt doesn't update the statement correctly in sqlx/bulkinserter.go (#3607) 1 year ago
Kevin Wan 421e6617b1
chore: add more tests (#3592) 1 year ago
Kevin Wan d3cd7b17c0
Revert "add:func() QueryRowsPartial,QueryRowPartial into cachedsql.go" (#3523) 1 year ago
liumin-go a50515496c
add:func() QueryRowsPartial,QueryRowPartial into cachedsql.go (#3512)
Co-authored-by: 刘敏 <liumin@liumindeMac-mini.local>
1 year ago
Kevin Wan c3f57e9b0a
chore: fix potential nil pointer errors (#3454) 1 year ago
Kevin Wan ff04356704
fix: format error should not trigger circuit breaker in sqlx (#3437) 1 year ago
chen quan b71453985c
feat(sqlx): support for custom Acceptable function (#3405) 1 year ago
Kevin Wan f6bdb6e1de
chore: add more tests (#3338) 1 year ago
Kevin Wan 84adc054bc
chore: add more tests (#3296) 2 years ago
Kevin Wan 28d3905731
chore: add more tests (#3294) 2 years ago
hc 3726851c7f
feat: sqlc add SetCacheWithExpire method (#3249)
Co-authored-by: luohancai <luohancai@taqu.cn>
2 years ago
Kevin Wan cd0f3726ed
chore: add more tests (#3288) 2 years ago
me-cs 0217044900
update:Use the Milliseconds method of duration to get the number of milliseconds (#3285)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
Kevin Wan 99ce24e2ab
chore: add more tests (#3260) 2 years ago
Kevin Wan 55e2c7ee83
chore: add more tests (#3258) 2 years ago
Kevin Wan 90839965fa
chore: remove directive for tests (#3257) 2 years ago
Kevin Wan f7228e9af1
chore: add more tests (#3256) 2 years ago
Kevin Wan bff5b81ad9
feat: support using session to execute statements in transaction (#3252) 2 years ago
Kevin Wan 8ffe4c01d1
chore: use logx.Must instead of log.Fatal (#3189) 2 years ago
Kevin Wan 14caf5c799
chore: simplify tests with logtest (#3184) 2 years ago
cong 22fad4bb9c
feat(trace): add trace test helpers (#3108) 2 years ago
cong 5da8a93c75
feat(redis): add ScriptRun API and migrate EvalCtx to ScriptRun for limit, lock and bloom (#3087) 2 years ago
cong b49fc81618
refactor(redistest): simplify redistest.CreateRedis API (#3086) 2 years ago
cong 95b85336d6
refactor(redis): add NonBlock config, disable redis ping by default (#3073) 2 years ago
guoguangwu ca4ce7bce8
fix : misspelled word (#3075) 2 years ago
Kevin Wan cca45be3c5
chore: refactor orm code (#3015) 2 years ago
YK.xiong e735915d89
fix QueryRowsPartial getTaggedFieldValueMap func (#2884)
Co-authored-by: yongkun.xiong <weilone@vip.qq.com>
2 years ago
Kevin Wan 7a0c04bc21
feat: unique redis addrs and trim spaces (#3004) 2 years ago
iyyzh 3c9fe0b381
init postgresql err (#3003) 2 years ago
文豆芽 f8b2dc8c9f
reids cluster bug (#2986)
Co-authored-by: shaocongcong <shao.congcong@yalla.live>
2 years ago
fabio cb7f3e8a17
feat(redis):add LpopCount,RpopCount (#2990) 2 years ago
anqiansong a2592a17e9 format code 2 years ago
anqiansong 05abf4a2ff fix typo 2 years ago
Kevin Wan a05fe7bf0a
chore: remove optional in redis config (#2979) 2 years ago
Kevin Wan d953675085
chore: add tests (#2960) 2 years ago
qiying.wang 148afcf1a7 chore: remove redundant prefix of "error: " in error creation 2 years ago
Kevin Wan a5e5f04bcf
chore: reformat code (#2925) 2 years ago
chenquan 3bc40d9eaf fix: fixed the bug that old trace instances may be fetched 2 years ago
yiwu 133c40ac1c
Pgx (#2902)
* change postgres driver  to  pgx

* modified:   go.mod
	modified:   go.sum

* chore: tidy go.sum

---------

Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
cong 64ab00e8e3
refactor: simplify sqlx fail fast ping and simplify miniredis setup in test (#2897)
* chore(redistest): simplify miniredis setup in test

* refactor(sqlx): simplify sqlx fail fast ping

* chore: close connection if not available
2 years ago
chen quan ea7dab3d26
feat(sqlx): error log print traceId and spanId (#2845) 2 years ago
Kevin Wan d7d6eccce6
chore: remove clickhouse, added to zero-contrib (#2848) 2 years ago
Kevin Wan 3c0dc8435e
chore: improve codecov (#2828) 2 years ago
MarkJoyMa fde05ccb28
feat: add MustNewRedis (#2824)
* feat: add MustNewRedis

* feat: add MustNewRedis

* feat: add MustNewRedis

* x

* x

* fix ut

* x

* x

* x

* x

* x
2 years ago