{"action":"created","issue":{"url":"https://api.github.com/repos/gopherjs/gopherjs/issues/380","repository_url":"https://api.github.com/repos/gopherjs/gopherjs","labels_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/380/comments","events_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/380/events","html_url":"https://github.com/gopherjs/gopherjs/pull/380","id":127524006,"number":380,"title":"Add support for TestMain function in test mode","user":{"login":"flimzy","id":8555063,"avatar_url":"https://avatars.githubusercontent.com/u/8555063?v=3","gravatar_id":"","url":"https://api.github.com/users/flimzy","html_url":"https://github.com/flimzy","followers_url":"https://api.github.com/users/flimzy/followers","following_url":"https://api.github.com/users/flimzy/following{/other_user}","gists_url":"https://api.github.com/users/flimzy/gists{/gist_id}","starred_url":"https://api.github.com/users/flimzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flimzy/subscriptions","organizations_url":"https://api.github.com/users/flimzy/orgs","repos_url":"https://api.github.com/users/flimzy/repos","events_url":"https://api.github.com/users/flimzy/events{/privacy}","received_events_url":"https://api.github.com/users/flimzy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-01-19T19:52:11Z","updated_at":"2016-06-06T05:32:35Z","closed_at":"2016-06-05T22:35:46Z","pull_request":{"url":"https://api.github.com/repos/gopherjs/gopherjs/pulls/380","html_url":"https://github.com/gopherjs/gopherjs/pull/380","diff_url":"https://github.com/gopherjs/gopherjs/pull/380.diff","patch_url":"https://github.com/gopherjs/gopherjs/pull/380.patch"},"body":"This adds support for the `TestMain` function in test mode, described [here](https://godoc.org/testing#hdr-Main), and requested in issue #239.  Naturally, I took inspiration from the relevant official [go source](https://github.com/golang/go/blob/master/src/cmd/go/test.go).\r\n\r\nI have tested it to the extent I know to. It's possible I may have missed some functionality. Any other suggestions or feedback is welcome."},"comment":{"url":"https://api.github.com/repos/gopherjs/gopherjs/issues/comments/223871871","html_url":"https://github.com/gopherjs/gopherjs/pull/380#issuecomment-223871871","issue_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/380","id":223871871,"user":{"login":"flimzy","id":8555063,"avatar_url":"https://avatars.githubusercontent.com/u/8555063?v=3","gravatar_id":"","url":"https://api.github.com/users/flimzy","html_url":"https://github.com/flimzy","followers_url":"https://api.github.com/users/flimzy/followers","following_url":"https://api.github.com/users/flimzy/following{/other_user}","gists_url":"https://api.github.com/users/flimzy/gists{/gist_id}","starred_url":"https://api.github.com/users/flimzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flimzy/subscriptions","organizations_url":"https://api.github.com/users/flimzy/orgs","repos_url":"https://api.github.com/users/flimzy/repos","events_url":"https://api.github.com/users/flimzy/events{/privacy}","received_events_url":"https://api.github.com/users/flimzy/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T05:32:35Z","updated_at":"2016-06-06T05:32:35Z","body":"Thanks for merging!"}}
{"actor":{"display_login":"flimzy"}}