On Wednesday, 20 November 2019 17:55:00 UTC, Thomas Bushnell, BSG wrote: <snip> but the return value of a function is not addressable (it's not a variable, pointer, etc etc). </snip>
Hi Thomas. Apologies, I said "assignable" when I meant "addressable". I was curious as to why a struct returned from a function is not addressable but I understand now. Thanks for your prompt reply. -- 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/5c7bf010-eecb-42d0-a45b-9d73352a53e5%40googlegroups.com.