Created
April 15, 2019 14:45
-
-
Save 5idu/32be0216668411c4a1cfa66e3e963ae0 to your computer and use it in GitHub Desktop.
函数传递小知识点
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 函数传递是传值还是传引用 | |
**Go中是没有引用传递的** | |
- 基础类型是对值拷贝传递 | |
- 引用类型是对指针拷贝传递 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment