按值传递

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

posted @ 2021-07-09 16:41  papering  阅读(41)  评论(0编辑  收藏  举报