Commit Graph

24 Commits (774e8d1d08382cd4c83bc18665569eb1d81c1868)

Author SHA1 Message Date
Kevin Wan 14caf5c799
chore: simplify tests with logtest (#3184) 2 years ago
Kevin Wan 3a493cd6a6
chore: add more tests (#3006) 2 years ago
Kevin Wan 35b9568657
chore: fix missing funcs on windows (#2825) 2 years ago
Kevin Wan 696da4efee
chore: add more tests (#2815)
* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests
2 years ago
Kevin Wan ac321fc146
feat: add fields with logx methods, support using third party logging libs. (#1847)
* backup

* simplify

* chore: remove unused pool

* chore: fix lint errors

* chore: use strings.Builder instead of bytes.Buffer

* test: add more tests

* chore: fix reviewdog

* test: fix data race

* feat: make logger customizable

* chore: fix reviewdog

* test: fix fails

* chore: fix set writer twice

* chore: use context instead of golang.org context

* chore: specify uint32 for level types
3 years ago
Kevin Wan 0fdd8f54eb
ci: add test for win (#1503)
* ci: add test for win

* ci: update check names

* ci: use go build instead of go test to verify win test

* fix: windows test failure

* chore: disable logs in tests
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 403dd7367a
fix #1288 (#1292)
* fix #1288

* chore: make wrapup & shutdown callbacks run simulatenously
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 71c0288023
fix symlink issue on windows for goctl (#1034)
* fix symlink issue on windows for goctl

* move readlink into separate file
3 years ago
Kevin Wan 3f47251892
fix proc.Done not found in windows (#1026) 3 years ago
Kevin Wan 9bdadf2381
fix golint issues (#992) 3 years ago
Kevin Wan 20f665ede8
implement k8s service discovery (#988)
* implement k8s service discovery

* simplify code

* use default namespace if not provided

* disable codecov bot comment

* ignore adhoc dir

* simplify building target in NewClient

* reformat code

* Fix filepath (#990)

* format code, and reorg imports (#991)

* add more unit test

Co-authored-by: anqiansong <anqiansong@gmail.com>
3 years ago
Kevin Wan 6793f7a1de
fix bug that proc.SetTimeToForceQuit not working in windows (#869) 3 years ago
Kevin Wan d84e3d4b53
fix golint issues in core/proc (#502) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
Kevin Wan d04b54243d
add more tests for proc (#439) 4 years ago
Kevin Wan 37c3b9f5c1
make sure unlock safe even if listeners panic (#383)
* make sure unlock safe even if listeners panic

* fix #378

* fix #378
4 years ago
卢永杰 1f1dcd16e6
fix server.start return nil points (#379)
Co-authored-by: luyongjie <luyongjie@37.com>
4 years ago
kevin 94645481b1 fix golint issues 4 years ago
kevin 33a9db85c8 add unit test, fix interceptor bug 4 years ago
kevin a50bcb90a6 rename function 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago