improve go example

and fix some build error
Looks nice but please make sure it looks like the Swift one as much as possible.
https://github.com/chai2010/swift-is-like-go/blob/master/code/subclass.swift