Quantcast
Channel: User Zan Lynx - Stack Overflow
Viewing all articles
Browse latest Browse all 41

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

$
0
0

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 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>