expect in golang in spirit of python pexpect