example34

command
v0.0.0-...-db4d1bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

区分指针引用和值引用 以值引用的方式复制结构体 将指向结构体的变量赋给另一个变量时,a与b相同,但它是b的副本,而不是指向b的引用,修改b不会影响a,反之亦然。

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL