Google copy on write go and you'll see the details. (The anwser is no.) Also you might be interested in these: https://golang.org/doc/faq#pass_by_value https://golang.org/doc/faq#go_or_golang
(The faq is quite informative.) cheers On Tue, Jun 30, 2020, 06:15 刘骏龙 <junlong...@gmail.com> wrote: > THX > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/ba52a326-502e-4320-8573-efc7409ce773n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/ba52a326-502e-4320-8573-efc7409ce773n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2BctqrpNVGnMz8Q6P4Q-pwmMfi0m6Q%2Bv8psGpExP3Ae%3DpjDJxA%40mail.gmail.com.