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

Go里只有传值(值传递 - 关于值传递和引用传递的纠正 #4

Open
city2011 opened this issue Jan 27, 2022 · 0 comments
Open

Comments

@city2011
Copy link

GO语言有值类型、引用类型

但是参数传递只有 值传递
引用类型传递的其相应的指针,参数的内存是独立的,拷贝过来的指针地址。

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

1 participant