clone from code.google.com/p/go.tools