We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://shaffer.cn/golang/insights-into-empty-struct/
背景偶然发现项目代码中有如下的写法: 12345678type Student struct { Name string Age int}func NewStudent(s Student) *Student { return &s} 我们且不去探讨“这样写法有什么作用”、“为什么要这样写”,我们先就代码本身讨论。 众所周知,从严格意义上来说,go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://shaffer.cn/golang/insights-into-empty-struct/
背景偶然发现项目代码中有如下的写法: 12345678type Student struct { Name string Age int}func NewStudent(s Student) *Student { return &s} 我们且不去探讨“这样写法有什么作用”、“为什么要这样写”,我们先就代码本身讨论。 众所周知,从严格意义上来说,go
The text was updated successfully, but these errors were encountered: