kitex
kitex copied to clipboard
test: add unit test for pkg/remote/codec
What type of PR is this? test
What this PR does / why we need it (en: English/zh: Chinese): en: add unit test for pkg/remote/codec zh: 为 pkg/remote/codec包里的函数添加单测。
Which issue(s) this PR fixes:
What type of PR is this?
What this PR does / why we need it (en: English/zh: Chinese):
en: zh:
Which issue(s) this PR fixes:
补充下 pr 描述
Run locally:
go vet -stdmethods=false $(go list ./...)
go install mvdan.cc/[email protected]
test -z "$(gofumpt -l -extra .)"
本地运行:
go vet -stdmethods=false $(go list ./...) go install mvdan.cc/[email protected] test -z "$(gofumpt -l -extra .)"
already use, but not result
本地运行:
go vet -stdmethods=false $(go list ./...) go install mvdan.cc/[email protected] test -z "$(gofumpt -l -extra .)"已使用,但不是结果
please put action again
本地运行:
go vet -stdmethods=false $(go list ./...) go install mvdan.cc/[email protected] test -z "$(gofumpt -l -extra .)"已使用,但不是结果
please put action again
@mxdblcf 执行下:
gofmt -s -w .
gofumpt -l -extra -w .