按值传递

There is no pass-by-reference in Go – The acme of foolishness https://dave.cheney.net/2017/04/29/there-is-no-pass-by-reference-in-go

If a map isn’t a reference variable, what is it? – The acme of foolishness https://dave.cheney.net/2017/04/30/if-a-map-isnt-a-reference-variable-what-is-it

原文地址:https://www.cnblogs.com/rsapaper/p/14991242.html