I have added a small instructable for this. It also contains a small video with a demo and a comparison between C and Go PWM. http://www.instructables.com/id/Onion-Omega2-and-Golang/