On Sat, Aug 29, 2020 at 10:01 PM Shyaka <renek...@gmail.com> wrote: > Hello, I need help, I have a struct Person wiith list inside, I add 5 string > on list at the end I found that the list is nil, I don't know whre is the > error, any help is appreciated.
I don't know why you code doesn't work, but as a first thing I just changed it mechanically in way I would write it - and it seems to work now: https://play.golang.org/p/NKyOQuM-GWc -- 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/CAA40n-W-wWeb9GSWLhMSyLtji-G5bFy8UNa%2BY4bKgXUm1UfBSg%40mail.gmail.com.