pointer_in_golang
差别
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
pointer_in_golang [2017/11/29 02:42] – 创建 jiaji | pointer_in_golang [2024/02/04 04:49] (当前版本) – 外部编辑 127.0.0.1 | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ## Pointer | + | ## Pointer |
## Pointer in Array Slice Map | ## Pointer in Array Slice Map | ||
+ | |||
+ | **[Slices hold references to an underlying array, and if you assign one slice to another, both refer to the same array. If a function takes a slice argument, changes it makes to the elements of the slice will be visible to the caller, analogous to passing a pointer to the underlying array.](https:// | ||
## Pointer in Struct | ## Pointer in Struct |
pointer_in_golang.1511923366.txt.gz · 最后更改: (外部编辑)