Protip: if you've spent hours digging into the encoding/xml or encoding/json packages with a debugger, writing ever more convoluted test cases, and trying to figure out why you can't reproduce an issue anywhere else where a field won't decode properly it's because you didn't export it and the decoder has no idea that it exists and a one character change to export the field will fix everything.

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.