Thanks for your interest! As I made clear in the conclusion, I find it easier to implement in C. The idea was to create a quick comparison between the two languages, to motivate further studies. Feel free to submit pull requests to improve the Golang implementation. I think it would be very interesting to redo the test with these adjustments.