golang Advanced Study Notes

1. When the string is passed to the fmt.Println function as a parameter, and the content is not copied string

- transfer of the address and only a string of ⻓ (reflect.StringHeader structure defined in the string). Go in your language and

, The function parameters are copied to the shutter mode (do not support primer to the Use Mode) transmission (⽐ is more specific, Go your language and external closure function

Use of variables are introduced shutter mode Use)

Dong wife Shannon Town House.

Guess you like

Origin www.cnblogs.com/wddx5/p/12286924.html