Kevin Wan
|
1303e0fe6f
|
feat: optimize circuit breaker algorithm (#3897)
|
10 months ago |
Kevin Wan
|
2f8cffc699
|
chore: update mongo driver (#3727)
|
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
|
14caf5c799
|
chore: simplify tests with logtest (#3184)
|
2 years ago |
Kevin Wan
|
ae87114282
|
chore: change interface{} to any (#2818)
* chore: change interface{} to any
* chore: update goctl version to 1.5.0
* chore: update goctl deps
|
2 years ago |
foliet
|
f7a4e3a19e
|
chore: fix naming problem (#2500)
When I was looking for how to mock mongo client, I found some naming problems and wanted to fix them.
|
2 years ago |
Kevin Wan
|
1a6d7b3ef6
|
chore: gofumpt (#2439)
|
2 years ago |
Kevin Wan
|
2d60f0c65a
|
fix: logx disable not working in some cases (#2306)
* fix: logx disable not working in some cases
* fix: test fail
|
2 years ago |
Kevin Wan
|
6c94e4652e
|
chore: better mongo logs (#1965)
* chore: better mongo logs
* chore: add comments
|
3 years ago |
chen quan
|
e567a0c718
|
refactor: refactor trace in redis & sql & mongo (#1865)
* refactor: refactor tracing in redis & sql & mongo
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* fix: fix some tests
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: add missing content
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: adjust `log` and `return`
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: reformat code
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: reformat code
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: reformat code
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: simpler span name
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: fix a bug
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: fix a bug
Signed-off-by: chenquan <chenquan.dev@gmail.com>
|
3 years ago |
Kevin Wan
|
ec1de4f48d
|
test: add codecov (#1861)
* test: add codecov
* test: add codecov
|
3 years ago |
Kevin Wan
|
2cdff97934
|
feat: use mongodb official driver instead of mgo (#1782)
* wip: backup
* wip: backup
* wip: backup
* backup
* backup
* backup
* add more tests
* fix wrong dependency
* fix lint errors
* remove test due to data race
* add tests
* fix test error
* add mon.Model
* add mon.Model unmarshal
* add monc
* add more tests for monc
* add more tests for monc
* add docs for mon and monc packages
* fix doc errors
* chhore: add comment
* chore: fix test bug
* chore: refine tests
* chore: remove primitive.NewObjectID in test code
* chore: rename test files for typo
|
3 years ago |