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
|
2 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 |