Hey @greatroar, I'm going to be contributing this code to the Go project as part of golang/go#54364.
You made two commits (dd2c06f and d49ac0f). Would you be fine with me including those commits? If so, I think you might need to sign the Go CLA.
Sorry for asking you like this. I don't know how else to contact you.