(no title)
NateDad | 6 years ago
names = append(names, "Bob")
.... that's really it. Will it have the same backing array as it did before you did append? Maybe, maybe not. Should you care? Absolutely not, and if you do, you're probably doing something wrong.
hundt|6 years ago
https://play.golang.org/p/goL1JtapY7q