'calling' readline from go