FAQ
The string data is the same, but the header is a copy.
On Sun, 2014-12-07 at 17:53 -0800, hust_ch@163.com wrote:
Why Golang decides the "Sting()" argument is actually a copy but not
the reference?

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 6 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedDec 8, '14 at 1:53a
activeDec 8, '14 at 2:19p
posts6
users5
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase