Create ghmd.go

Import ghmd from the gist https://gist.github.com/gilliek/11366792