Quantcast
Viewing all articles
Browse latest Browse all 40

Answer by Zan Lynx for How to access map values in golang

That is a rather strange format and looks like it is expecting a PHP script. Or some other scripting language.

The ParseQuery function has made a map but the key is a string that looks like "products["products-2"]["green"]"

I assume it would be better to have a "products" map that contains an "attributes" map or something like that. I'm not sure how to get there without a lot of effort


Viewing all articles
Browse latest Browse all 40

Trending Articles