Comment by akavel
That doesn't invalidate the parent comment :) The code is pure Go, but parts of it originate in C by means of automatic translation during development of Go 1.4 (or whichever version it was).
Exactly, here's the tool that's been used: https://github.com/rsc/c2go