Commit Graph

27 Commits (b1c4c4736f6abe53387bcb24b769b0f6effc5082)

Author SHA1 Message Date
Kevin Wan a31256b327
chore: add more tests (#3187) 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
王哈哈 dac3600b53
Modify comment syntax error (#2572) 2 years ago
sado bebf6322ff
fix resource manager dead lock (#2302)
Co-authored-by: sado <liaoyonglin@bilibili.com>
2 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
Kevin Wan f1102fb262
chore: optimize string search with Aho–Corasick algorithm (#1476)
* chore: optimize string search with Aho–Corasick algorithm

* chore: optimize keywords replacer

* fix: replacer bugs

* chore: reorder members
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan d1e702e8a3
test: add more tests (#1106)
* style: format code

* test: add more tests

* fix: staticcheck errors
3 years ago
chenquan d1bfb5ef61
Fix the `resources` variable not reset after the resource manager is closed (#1105)
* Fix the resource variable not reset after the resource manager is closed

* Format code
3 years ago
Kevin Wan 65905b914d
ci: add reviewdog (#1096) 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 5cc9eb0de4
rename sharedcalls to singleflight (#1017) 3 years ago
heyanfu a5962f677f
fix some typo (#677) 4 years ago
Kevin Wan 08fb980ad2
add syncx.Guard func (#620) 4 years ago
Kevin Wan 490241d639
fix golint issues in core/syncx (#526) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
Kevin Wan 01060cf16d
close issue of #337 (#347) 4 years ago
吴亲库里 cc07a1d69b
Update sharedcalls.go (#174)
Removes unused parameters
4 years ago
kevin 94645481b1 fix golint issues 4 years ago
codingfanlt 6f49639f80
fix syncx/barrier test case (#123) 4 years ago
kevin adc275872d add more tests 4 years ago
kevin a22bcc84a3 better lock practice in sharedcalls 4 years ago
Zhang Hao 17a0908a84
add test (#95) 4 years ago
kevin 6aa7a319c2 refactor compare versions 4 years ago
sunwei 945d59a980 【rich function】benchmark once function 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago