用户工具

站点工具


pointer_in_golang

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
pointer_in_golang [2017/11/29 02:44] – [Pointer Base] jiajipointer_in_golang [2024/02/04 04:49] (当前版本) – 外部编辑 127.0.0.1
行 2: 行 2:
  
 ## 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://golang.org/doc/effective_go.html#slices)**
  
 ## Pointer in Struct ## Pointer in Struct
pointer_in_golang.1511923449.txt.gz · 最后更改: (外部编辑)