222twotwotwo commented on PR #153: URL: https://github.com/apache/dubbo-go-pixiu-samples/pull/153#issuecomment-4545336739
> 补跑 golangci-lint 2.12.2 后发现新增 errcheck 问题,需要先修: > > * [P1] dubbohttpproxy/server/http/server.go:45:`golangci-lint run --new-from-rev origin/main ./dubbohttpproxy/server/http/...` 报 `errcheck`: `w.Write` 的错误返回值未处理。同文件 line 53、line 58 也有相同问题。错误响应路径可以改成 `_, _ = w.Write(...)`、`http.Error(...)`,或显式处理错误。 已经处理完毕 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
