You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "AlexStocks (via GitHub)" <gi...@apache.org> on 2025/04/26 04:59:24 UTC
[I] optimize: replace interface{} by any [dubbo-go-pixiu]
AlexStocks opened a new issue, #669:
URL: https://github.com/apache/dubbo-go-pixiu/issues/669
<!-- Please only use this template for submitting enhancement requests -->
**What would you like to be added**:
**Why is this needed**:
Go 1.18 introduced the any type as an alias to interface{}. To keep our codebase in line with current best practices, we should format all existing code to use any instead of interface{} and forbid uses of interface{} through a linter/gofmt.
ref:
https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23811
https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/29072
Add a go-lint ci to check the usage of interface{}.
--
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: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] optimize: replace interface{} by any [dubbo-go-pixiu]
Posted by "marsevilspirit (via GitHub)" <gi...@apache.org>.
marsevilspirit closed issue #669: optimize: replace interface{} by any
URL: https://github.com/apache/dubbo-go-pixiu/issues/669
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] optimize: replace interface{} by any [dubbo-go-pixiu]
Posted by "AlexStocks (via GitHub)" <gi...@apache.org>.
AlexStocks commented on issue #669:
URL: https://github.com/apache/dubbo-go-pixiu/issues/669#issuecomment-2831853103
ref PR https://github.com/apache/dubbo-go/pull/2848
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org