|
|
|
|
|
by NateDad
2577 days 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. |
|
https://play.golang.org/p/goL1JtapY7q