Commit Graph

30 Commits (38c8f9cf21ec729d2c921354bbb2fefde609943f)

Author SHA1 Message Date
Kevin Wan fd070fec91
feat: retry with ctx deadline (#3626) 1 year ago
Kevin Wan 2f2ddd373b
chore: refactor retry (#3291) 2 years ago
Xiaoju Jiang 8d48e34eed
update: expand the retry method to support timeout and interval control (#3283) 2 years ago
Kevin Wan bbfce6abe9
chore: refactor max/min in fx (#3135) 2 years ago
suplalalala 0d11ce03a8
feature: two evaluate operate func addtion in package stream (#3129)
Co-authored-by: Riven <Riven.chen@hairobotics.com>
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
Kevin Wan d935c83a54
feat: support baggage propagation in httpc (#2375)
* feat: support baggage propagation in httpc

* chore: use go 1.16

* chore: use go 1.16

* chore: use go ^1.16

* chore: remove deprecated
2 years ago
Kevin Wan ea4f2af67f
fix: mr goroutine leak on context deadline (#1433)
* fix: mr goroutine leak on context deadline

* test: update fx test check
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan a8e7fafebf
refactor: optimize fx (#1404)
* refactor: optimize fx

* chore: add more comments

* ci: make test robust
3 years ago
Kevin Wan c19d2637ea
feat: implement fx.NoneMatch, fx.First, fx.Last (#1402)
* chore: use workers from options in fx.unlimitedWalk

* feat: add fx.NoneMatch

* feat: add fx.First, fx.Last

* chore: add more comments

* docs: add mr readme
3 years ago
Kevin Wan 914692cc82
fix #1309 (#1317) 3 years ago
Kevin Wan 65905b914d
ci: add reviewdog (#1096) 3 years ago
Kevin Wan a21ff71373
fix #889 (#912) 3 years ago
Kevin Wan 8520db4fd9
refactor fx (#759)
* refactor fx

* refactor fx, format code
4 years ago
Chen Quan 14141fed62
Add some stream features (#712)
* Add some stream features

* Update empty

* Fix initialization loop

* Delete ForeachOrdered && Fix FindFirst

* Add test case && Delete redundant code

* Update test case

* Delete SplitSteam

* Delete redundant code
4 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
zjbztianya d88da4cc88
Replace contextx.ShrinkDeadline with context.WithTimeout (#598) 4 years ago
Kevin Wan 9e6c2ba2c0
avoid goroutine leak after timeout (#575) 4 years ago
Kevin Wan fcd15c9b17
refactor, and add comments to describe graceful shutdown (#564) 4 years ago
Kevin Wan f238290dd3
fix golint issues in core/fx (#486) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
kevin d2ed14002c add fx.Split 4 years ago
kevin 8291eabc2c assert len > 0 4 years ago
codingfanlt 901fadb5d3
fix: fx/fn.Head func will forever block when n is less than 1 (#128)
* fix fx/Stream Head func will forever block when n is less than 1

* update test case

* update test case
4 years ago
kevin 637a94a189 add fx.Count 4 years ago
Klaus 4bdf5e4c90 chore: fix typo 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago