Go passing pointers to for loop variables
If you pass a pointer to a for loop variable through a channel, the value on the other end of the channel may or may not be what you expect. Think twice about doing it.
Also, any tests that you have around this functionality will not show that you have an error.
Go Server Sent Events Library
My first Go library:
Comments and pull requests welcome.