Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一些编程细节 #131

Closed
AlexStocks opened this issue Apr 16, 2022 · 3 comments
Closed

一些编程细节 #131

AlexStocks opened this issue Apr 16, 2022 · 3 comments

Comments

@AlexStocks
Copy link
Contributor

What happened:

dubbogo 积累的一些历史旧账

What you expected to happen:

多注意细节,多看看历史问题,多翻翻旧账,照亮来时路,少犯错。

@AlexStocks
Copy link
Contributor Author

AlexStocks commented Apr 16, 2022

把关键字作为变量

image

from https://github.com/apache/dubbo-go/pull/1833/files

@AlexStocks
Copy link
Contributor Author

把 package name 作为变量名称
image

from https://github.com/apache/dubbo-go/pull/1833/files

@AlexStocks
Copy link
Contributor Author

与 nil 比较的时候,一定要要像如下代码一样,把 nil 转换下类型
image
from https://github.com/apache/dubbo-go/pull/1833/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants