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 05:18:56 UTC
Re: [I] If we need a code style? [dubbo-go]
AlexStocks commented on issue #1755:
URL: https://github.com/apache/dubbo-go/issues/1755#issuecomment-2831863777
2025 编程新规:
1 使用 Any,不再使用 interface{}; ref PR https://github.com/apache/dubbo-go/pull/2848
2 method receiver 使用指针形式 https://mp.weixin.qq.com/s/jeIPGn8VC7YowUlXMx9VZA
3 function 内部的 slice 不要直接返回,以免发生内存泄漏 https://mp.weixin.qq.com/s/cFdcy9Z31LchrxKaTZRjEQ
--
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