First pass at go client code.