{"action":"created","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2013","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2013/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2013/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2013/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2013","id":117623920,"number":2013,"title":"[RFC] Unify the running of Go applications","user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zolotov","id":140920,"avatar_url":"https://avatars.githubusercontent.com/u/140920?v=3","gravatar_id":"","url":"https://api.github.com/users/zolotov","html_url":"https://github.com/zolotov","followers_url":"https://api.github.com/users/zolotov/followers","following_url":"https://api.github.com/users/zolotov/following{/other_user}","gists_url":"https://api.github.com/users/zolotov/gists{/gist_id}","starred_url":"https://api.github.com/users/zolotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolotov/subscriptions","organizations_url":"https://api.github.com/users/zolotov/orgs","repos_url":"https://api.github.com/users/zolotov/repos","events_url":"https://api.github.com/users/zolotov/events{/privacy}","received_events_url":"https://api.github.com/users/zolotov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/16","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/milestones/1.0%20maybe?","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/16/labels","id":976865,"number":16,"title":"1.0 maybe?","description":"This is a milestone to help decide which issues should be done in 1.0 initial release and which should go in the next versions.","creator":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":0,"state":"open","created_at":"2015-02-12T14:28:40Z","updated_at":"2015-11-29T11:19:41Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2015-11-18T16:25:31Z","updated_at":"2015-11-29T16:35:14Z","closed_at":null,"body":"Hi,\r\n\r\nAfter seeing yet another problem with running various type of apps (https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2012#issuecomment-157758483), I've started thinking that maybe the runners can be unified.\r\n\r\nI'm thinking of having a single run configuration called Go or Go Application which has the following options for the run kind:\r\n- single file -> lets you select a single file -> translates into `go build path/to/file.go`\r\n- directory -> lets you select a directory -> translates into `cd path/to/directory && go build .`\r\n- package -> lets you select a package -> translates into `cd $GOPATH/src/package/name && go build package/name`\r\n\r\nThis way we don't use `go run` anymore and people are not confused on which run type to use and the plugin has less code to maintain.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/comments/160430876","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2013#issuecomment-160430876","issue_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2013","id":160430876,"user":{"login":"zolotov","id":140920,"avatar_url":"https://avatars.githubusercontent.com/u/140920?v=3","gravatar_id":"","url":"https://api.github.com/users/zolotov","html_url":"https://github.com/zolotov","followers_url":"https://api.github.com/users/zolotov/followers","following_url":"https://api.github.com/users/zolotov/following{/other_user}","gists_url":"https://api.github.com/users/zolotov/gists{/gist_id}","starred_url":"https://api.github.com/users/zolotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolotov/subscriptions","organizations_url":"https://api.github.com/users/zolotov/orgs","repos_url":"https://api.github.com/users/zolotov/repos","events_url":"https://api.github.com/users/zolotov/events{/privacy}","received_events_url":"https://api.github.com/users/zolotov/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T16:35:14Z","updated_at":"2015-11-29T16:35:14Z","body":"@dlsniper What kind of suggestion? Link to `gobuild` tool documentation?\r\n\r\nAlso, the simplest way to run main package is following:\r\n<img width=\"443\" alt=\"screenshot 2015-11-29 19 30 39\" src=\"https://cloud.githubusercontent.com/assets/140920/11458393/1ac12132-96d0-11e5-80dd-76efa31248d6.png\">\r\n\r\n\r\n@fabian-z \r\n> Would adding a build directory, in addition to the working and output directory maybe solve the problem? \r\n\r\nIt would, but I actually don't see the problem. And I don't want to complicate run configuration by adding new field.\r\n"}}