Kevin Wan
a31256b327
chore: add more tests ( #3187 )
2023-04-29 22:59:07 +08:00
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
2023-01-24 16:32:02 +08:00
王哈哈
dac3600b53
Modify comment syntax error ( #2572 )
2022-11-04 21:55:17 +08:00
sado
bebf6322ff
fix resource manager dead lock ( #2302 )
...
Co-authored-by: sado <liaoyonglin@bilibili.com>
2022-08-26 20:07:25 +08:00
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
2022-04-19 14:03:04 +08:00
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
2022-01-23 23:37:02 +08:00
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
2022-01-04 15:51:32 +08:00
Kevin Wan
d1e702e8a3
test: add more tests ( #1106 )
...
* style: format code
* test: add more tests
* fix: staticcheck errors
2021-10-01 10:03:56 +08:00
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
2021-09-30 16:55:36 +08:00
Kevin Wan
65905b914d
ci: add reviewdog ( #1096 )
2021-09-29 13:09:20 +08:00
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
2021-09-23 19:57:05 +08:00
Kevin Wan
5cc9eb0de4
rename sharedcalls to singleflight ( #1017 )
2021-09-09 18:06:27 +08:00
heyanfu
a5962f677f
fix some typo ( #677 )
2021-05-10 00:09:00 +08:00
Kevin Wan
08fb980ad2
add syncx.Guard func ( #620 )
2021-04-13 00:04:19 +08:00
Kevin Wan
490241d639
fix golint issues in core/syncx ( #526 )
2021-02-28 16:16:22 +08:00
Kevin Wan
5e969cbef0
fix golint issues, else blocks ( #457 )
2021-02-09 13:50:21 +08:00
Kevin Wan
01060cf16d
close issue of #337 ( #347 )
2021-01-04 16:36:27 +08:00
吴亲库里
cc07a1d69b
Update sharedcalls.go ( #174 )
...
Removes unused parameters
2020-10-31 19:40:07 +08:00
kevin
94645481b1
fix golint issues
2020-10-16 10:50:43 +08:00
codingfanlt
6f49639f80
fix syncx/barrier test case ( #123 )
2020-10-13 19:29:20 +08:00
kevin
adc275872d
add more tests
2020-10-10 11:53:49 +08:00
kevin
a22bcc84a3
better lock practice in sharedcalls
2020-09-30 12:31:35 +08:00
Zhang Hao
17a0908a84
add test ( #95 )
2020-09-22 19:15:30 +08:00
kevin
6aa7a319c2
refactor compare versions
2020-08-10 14:53:01 +08:00
sunwei
945d59a980
【rich function】benchmark once function
2020-08-10 14:06:59 +08:00
kevin
0a7e0cce77
update package reference
2020-08-08 16:40:10 +08:00
kevin
7e3a369a8f
initial import
2020-07-26 17:09:05 +08:00