Thank you for clarifying that, but how does that resolve my problem? The output I get is.....
map[[Folder_1 Folder_2 Folder_3 Folder_4]:File_Name_1] If I understand that correctly, my index key is now "Folder_1 Folder_2 Folder_3 Folder_4" and my value is now "File_Name_1". How would I now assign "File_Name_2" to Folder_2, for example? In other words, how is this any different than using ":" or "/" to fake the behavior of a multidimensional array? In this case, I'd be simply using spaces, which would technically mean that I couldn't have multi word folders with spaces in their names because the spaces would be considered a level divider. On Monday, September 12, 2016 at 10:54:36 PM UTC-4, kortschak wrote: > > https://play.golang.org/p/6ZyybAKWpp > > > On Mon, 2016-09-12 at 18:50 -0700, davidmi...@gmail.com <javascript:> > wrote: > > I tried that. I can't seem to get it to work. I'm clearly doing > > something > > wrong, probably because I am misunderstanding Tamás's response. > > > > Test_Map := make(map[[4]string]string) > > > > I've tried this way..... > > > > > > Test_Map["Folder_1"]["Folder_2"]["Folder_3"]["Folder_4"] = > > "File_Name_1" > > > -- 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. For more options, visit https://groups.google.com/d/optout.