On Sunday, 19 December 2021 at 17:24:48 UTC b...@gmail.com wrote: > you must use pointers, otherwise you can not do something like this: > > ft["a"].name = "b" > > As the entries in the map are non-addressable. >
??? https://go.dev/play/p/ubx-WnElJOY -- 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/d66f5092-e3fd-427d-9b11-9c4560c87042n%40googlegroups.com.