website
website copied to clipboard
Changed Go example
Swapped Unmarshal for Decoder reducing imports and lines. Swapped out wait group/mutexes for channels. Wrapped defer in function so connections could be reused. Not sure if println is threadsafe, so protected it. Thoughts?