I hope by some magical with xml pkg, I get a map: map["en"] ==
"English"
P/s: I can put it to a struct, after that loop over the struct range
and generate a map, but I need to find if there is one simple way!
check out: https://github.com/clbanning/x2j
Hello~ Why I code it hits: could not import xml (no required module provides package "xml")?
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/56f09282-9152-439b-8f8e-6a8e0a8ac37dn%40googlegroups.com.