In addition: please can you take the problematic piece of code and boil it down to a simple standalone example in play.golang.org^W go.dev/play/ which reproduces the error - for example, with a static constant string that you're trying to decode, and some structs that you're trying to decode into. Then it should be clear what's happening.
You've pasted some incomplete code, with no type definitions; and an error message about decoding JSON without showing the JSON you're trying to decode. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/a444aef5-5868-40bd-b0a3-2c710c201cf4n%40googlegroups.com.