This is so helpful, even in 2020. Thank you!
On Wednesday, January 11, 2012 at 3:29:18 AM UTC-8, kortschak wrote:
>
> package main
>
> import "fmt"
>
> func main() {
> outer := make(map[int]map[int][]string)
> outer[1] = make(map[int][]string)
> outer[1][2] = []string{} // or equivalent
>
> fmt.Println(outer)
> }
>
> On Jan 11, 9:11 pm, Archos <[email protected]> wrote:
> > Is correct to use a nested map like this one? If so, how is
> > initialized?
> >
> > var pointers map[int]map[int][]string
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/ff021ecd-db4b-4011-94d8-4d7c1c9e8a57o%40googlegroups.com.