{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/9497","labels_url":"https://api.github.com/repos/golang/go/issues/9497/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/9497/comments","events_url":"https://api.github.com/repos/golang/go/issues/9497/events","html_url":"https://github.com/golang/go/issues/9497","id":53307322,"number":9497,"title":"command-line: Run go code directly from command line.","user":{"login":"kalopsia","id":6209197,"avatar_url":"https://avatars.githubusercontent.com/u/6209197?v=3","gravatar_id":"","url":"https://api.github.com/users/kalopsia","html_url":"https://github.com/kalopsia","followers_url":"https://api.github.com/users/kalopsia/followers","following_url":"https://api.github.com/users/kalopsia/following{/other_user}","gists_url":"https://api.github.com/users/kalopsia/gists{/gist_id}","starred_url":"https://api.github.com/users/kalopsia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalopsia/subscriptions","organizations_url":"https://api.github.com/users/kalopsia/orgs","repos_url":"https://api.github.com/users/kalopsia/repos","events_url":"https://api.github.com/users/kalopsia/events{/privacy}","received_events_url":"https://api.github.com/users/kalopsia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-03T15:53:54Z","updated_at":"2015-01-03T18:16:41Z","closed_at":"2015-01-03T18:16:41Z","body":"Hello to all. Thanks for this great project, I'm very pleased to say it, because this language like gulp of fresh air! So I want to ask, will go support executing code directly from command line/terminal (I think it is called REPL).\r\n\r\nSomething like this:\r\n\r\n```\r\ngo run \"package main; func main() { println('hello') }\"\r\nhello\r\n```\r\nor\r\n```\r\ngo run --directly \"println('hello')\"\r\nhello\r\n```\r\n\r\nor\r\n```\r\ngo exec --interactive\r\n> for {\r\n> println(\"hello\")\r\n> }\r\n\r\nhello\r\nhello\r\n...\r\n```"}}