libreadline wrap for golang