FAQ
Is it correct if I think of Slices like this: When I pass a slice to a function, the slice is copied but the copy the function receives has a copy of the pointer to the backing array not a copy of the backing array itself.
--
--
rottmann.net | Google+ <https://plus.google.com/106658337982640166595> |
Twitter <http://twitter.com/ralf> | Facebook<http://www.facebook.com/ralfrottmann>|
LinkedIn <http://de.linkedin.com/in/rottmann>

--
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

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 8 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedApr 26, '14 at 9:11p
activeJul 19, '14 at 7:56a
posts8
users7
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase