{"action":"created","issue":{"url":"https://api.github.com/repos/motemen/gore/issues/53","labels_url":"https://api.github.com/repos/motemen/gore/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/motemen/gore/issues/53/comments","events_url":"https://api.github.com/repos/motemen/gore/issues/53/events","html_url":"https://github.com/motemen/gore/issues/53","id":112127479,"number":53,"title":"fmt.Println Executed Multiple Times","user":{"login":"jdhenke","id":1418690,"avatar_url":"https://avatars.githubusercontent.com/u/1418690?v=3","gravatar_id":"","url":"https://api.github.com/users/jdhenke","html_url":"https://github.com/jdhenke","followers_url":"https://api.github.com/users/jdhenke/followers","following_url":"https://api.github.com/users/jdhenke/following{/other_user}","gists_url":"https://api.github.com/users/jdhenke/gists{/gist_id}","starred_url":"https://api.github.com/users/jdhenke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdhenke/subscriptions","organizations_url":"https://api.github.com/users/jdhenke/orgs","repos_url":"https://api.github.com/users/jdhenke/repos","events_url":"https://api.github.com/users/jdhenke/events{/privacy}","received_events_url":"https://api.github.com/users/jdhenke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T11:42:13Z","updated_at":"2015-12-11T05:14:33Z","closed_at":"2015-12-11T05:14:33Z","body":"```\r\n$ go version\r\ngo version go1.5 darwin/amd64\r\n$ gore\r\ngore version 0.2.5  :help for help\r\ngore> :import fmt\r\ngore> fmt.Println(\"Yoo\")\r\nYoo\r\n4\r\n<nil>\r\ngore> n := 1\r\nYoo // <--- why is this printed?\r\n1\r\n```"},"comment":{"url":"https://api.github.com/repos/motemen/gore/issues/comments/163843218","html_url":"https://github.com/motemen/gore/issues/53#issuecomment-163843218","issue_url":"https://api.github.com/repos/motemen/gore/issues/53","id":163843218,"user":{"login":"motemen","id":8465,"avatar_url":"https://avatars.githubusercontent.com/u/8465?v=3","gravatar_id":"","url":"https://api.github.com/users/motemen","html_url":"https://github.com/motemen","followers_url":"https://api.github.com/users/motemen/followers","following_url":"https://api.github.com/users/motemen/following{/other_user}","gists_url":"https://api.github.com/users/motemen/gists{/gist_id}","starred_url":"https://api.github.com/users/motemen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motemen/subscriptions","organizations_url":"https://api.github.com/users/motemen/orgs","repos_url":"https://api.github.com/users/motemen/repos","events_url":"https://api.github.com/users/motemen/events{/privacy}","received_events_url":"https://api.github.com/users/motemen/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T05:14:33Z","updated_at":"2015-12-11T05:14:33Z","body":"Unfortunately this is [an expected behavior of gore](https://github.com/motemen/gore#faqcaveats), which invokes `go run` on each REPL input. It may seem misbehaving if the expressions involve I/O.\r\n\r\nI'd love to hear any idea to solve this problem, thanks."}}