On Mon, 2016-09-12 at 20:26 -0700, davidmiller...@gmail.com wrote:
> Well, PHP is also free. It can do multidimensional associative arrays
> and much more. What good is Golang's tremendous efficiency if it isn't
> capable of doing what is needed in the first place? 

Depends on how much work you want to put in.

> Thank you for your response.
> 
Brad Fitzpatrick sent an arbitrarily deep map approach some time back
that might do what you want without any real additional programming.

A map[interface{}]string will do what you want if you make sure the keys
are always equalable. The approach Brad used went something like this.

https://play.golang.org/p/TTxd6tTrQI


-- 
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.

Reply via email to