improve go example

and fix some build error
I don't think it's good idea to import third party libs since we are just comparing syntax from each language.