{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/google/renameio/pulls/7","id":229229467,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MjI5NDY3","html_url":"https://github.com/google/renameio/pull/7","diff_url":"https://github.com/google/renameio/pull/7.diff","patch_url":"https://github.com/google/renameio/pull/7.patch","issue_url":"https://api.github.com/repos/google/renameio/issues/7","number":7,"state":"open","locked":false,"title":"implement WriteFile","user":{"login":"twpayne","id":6942,"node_id":"MDQ6VXNlcjY5NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/6942?v=4","gravatar_id":"","url":"https://api.github.com/users/twpayne","html_url":"https://github.com/twpayne","followers_url":"https://api.github.com/users/twpayne/followers","following_url":"https://api.github.com/users/twpayne/following{/other_user}","gists_url":"https://api.github.com/users/twpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/twpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twpayne/subscriptions","organizations_url":"https://api.github.com/users/twpayne/orgs","repos_url":"https://api.github.com/users/twpayne/repos","events_url":"https://api.github.com/users/twpayne/events{/privacy}","received_events_url":"https://api.github.com/users/twpayne/received_events","type":"User","site_admin":false},"body":"This PR adds an initial, trivial but hopefully reasonably robust, implementation of `ioutil.WriteFile`. Fixes #3.","created_at":"2018-11-08T02:17:53Z","updated_at":"2018-11-08T02:17:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/renameio/pulls/7/commits","review_comments_url":"https://api.github.com/repos/google/renameio/pulls/7/comments","review_comment_url":"https://api.github.com/repos/google/renameio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/renameio/issues/7/comments","statuses_url":"https://api.github.com/repos/google/renameio/statuses/6d2b50ff922620d73542ae83b1edff53fced695d","head":{"label":"twpayne:writefile","ref":"writefile","sha":"6d2b50ff922620d73542ae83b1edff53fced695d","user":{"login":"twpayne","id":6942,"node_id":"MDQ6VXNlcjY5NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/6942?v=4","gravatar_id":"","url":"https://api.github.com/users/twpayne","html_url":"https://github.com/twpayne","followers_url":"https://api.github.com/users/twpayne/followers","following_url":"https://api.github.com/users/twpayne/following{/other_user}","gists_url":"https://api.github.com/users/twpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/twpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twpayne/subscriptions","organizations_url":"https://api.github.com/users/twpayne/orgs","repos_url":"https://api.github.com/users/twpayne/repos","events_url":"https://api.github.com/users/twpayne/events{/privacy}","received_events_url":"https://api.github.com/users/twpayne/received_events","type":"User","site_admin":false},"repo":{"id":156564673,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NjQ2NzM=","name":"renameio","full_name":"twpayne/renameio","private":false,"owner":{"login":"twpayne","id":6942,"node_id":"MDQ6VXNlcjY5NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/6942?v=4","gravatar_id":"","url":"https://api.github.com/users/twpayne","html_url":"https://github.com/twpayne","followers_url":"https://api.github.com/users/twpayne/followers","following_url":"https://api.github.com/users/twpayne/following{/other_user}","gists_url":"https://api.github.com/users/twpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/twpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twpayne/subscriptions","organizations_url":"https://api.github.com/users/twpayne/orgs","repos_url":"https://api.github.com/users/twpayne/repos","events_url":"https://api.github.com/users/twpayne/events{/privacy}","received_events_url":"https://api.github.com/users/twpayne/received_events","type":"User","site_admin":false},"html_url":"https://github.com/twpayne/renameio","description":"Package renameio provides a way to atomically create or replace a file or symbolic link.","fork":true,"url":"https://api.github.com/repos/twpayne/renameio","forks_url":"https://api.github.com/repos/twpayne/renameio/forks","keys_url":"https://api.github.com/repos/twpayne/renameio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twpayne/renameio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twpayne/renameio/teams","hooks_url":"https://api.github.com/repos/twpayne/renameio/hooks","issue_events_url":"https://api.github.com/repos/twpayne/renameio/issues/events{/number}","events_url":"https://api.github.com/repos/twpayne/renameio/events","assignees_url":"https://api.github.com/repos/twpayne/renameio/assignees{/user}","branches_url":"https://api.github.com/repos/twpayne/renameio/branches{/branch}","tags_url":"https://api.github.com/repos/twpayne/renameio/tags","blobs_url":"https://api.github.com/repos/twpayne/renameio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twpayne/renameio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twpayne/renameio/git/refs{/sha}","trees_url":"https://api.github.com/repos/twpayne/renameio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twpayne/renameio/statuses/{sha}","languages_url":"https://api.github.com/repos/twpayne/renameio/languages","stargazers_url":"https://api.github.com/repos/twpayne/renameio/stargazers","contributors_url":"https://api.github.com/repos/twpayne/renameio/contributors","subscribers_url":"https://api.github.com/repos/twpayne/renameio/subscribers","subscription_url":"https://api.github.com/repos/twpayne/renameio/subscription","commits_url":"https://api.github.com/repos/twpayne/renameio/commits{/sha}","git_commits_url":"https://api.github.com/repos/twpayne/renameio/git/commits{/sha}","comments_url":"https://api.github.com/repos/twpayne/renameio/comments{/number}","issue_comment_url":"https://api.github.com/repos/twpayne/renameio/issues/comments{/number}","contents_url":"https://api.github.com/repos/twpayne/renameio/contents/{+path}","compare_url":"https://api.github.com/repos/twpayne/renameio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twpayne/renameio/merges","archive_url":"https://api.github.com/repos/twpayne/renameio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twpayne/renameio/downloads","issues_url":"https://api.github.com/repos/twpayne/renameio/issues{/number}","pulls_url":"https://api.github.com/repos/twpayne/renameio/pulls{/number}","milestones_url":"https://api.github.com/repos/twpayne/renameio/milestones{/number}","notifications_url":"https://api.github.com/repos/twpayne/renameio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twpayne/renameio/labels{/name}","releases_url":"https://api.github.com/repos/twpayne/renameio/releases{/id}","deployments_url":"https://api.github.com/repos/twpayne/renameio/deployments","created_at":"2018-11-07T15:10:44Z","updated_at":"2018-11-07T15:10:46Z","pushed_at":"2018-11-08T02:14:56Z","git_url":"git://github.com/twpayne/renameio.git","ssh_url":"git@github.com:twpayne/renameio.git","clone_url":"https://github.com/twpayne/renameio.git","svn_url":"https://github.com/twpayne/renameio","homepage":"","size":15,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"bfd484715b4addc0aa4547c66940da13915fb3bf","user":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":155398532,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUzOTg1MzI=","name":"renameio","full_name":"google/renameio","private":false,"owner":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/google/renameio","description":"Package renameio provides a way to atomically create or replace a file or symbolic link.","fork":false,"url":"https://api.github.com/repos/google/renameio","forks_url":"https://api.github.com/repos/google/renameio/forks","keys_url":"https://api.github.com/repos/google/renameio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/renameio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/renameio/teams","hooks_url":"https://api.github.com/repos/google/renameio/hooks","issue_events_url":"https://api.github.com/repos/google/renameio/issues/events{/number}","events_url":"https://api.github.com/repos/google/renameio/events","assignees_url":"https://api.github.com/repos/google/renameio/assignees{/user}","branches_url":"https://api.github.com/repos/google/renameio/branches{/branch}","tags_url":"https://api.github.com/repos/google/renameio/tags","blobs_url":"https://api.github.com/repos/google/renameio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/renameio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/renameio/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/renameio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/renameio/statuses/{sha}","languages_url":"https://api.github.com/repos/google/renameio/languages","stargazers_url":"https://api.github.com/repos/google/renameio/stargazers","contributors_url":"https://api.github.com/repos/google/renameio/contributors","subscribers_url":"https://api.github.com/repos/google/renameio/subscribers","subscription_url":"https://api.github.com/repos/google/renameio/subscription","commits_url":"https://api.github.com/repos/google/renameio/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/renameio/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/renameio/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/renameio/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/renameio/contents/{+path}","compare_url":"https://api.github.com/repos/google/renameio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/renameio/merges","archive_url":"https://api.github.com/repos/google/renameio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/renameio/downloads","issues_url":"https://api.github.com/repos/google/renameio/issues{/number}","pulls_url":"https://api.github.com/repos/google/renameio/pulls{/number}","milestones_url":"https://api.github.com/repos/google/renameio/milestones{/number}","notifications_url":"https://api.github.com/repos/google/renameio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/renameio/labels{/name}","releases_url":"https://api.github.com/repos/google/renameio/releases{/id}","deployments_url":"https://api.github.com/repos/google/renameio/deployments","created_at":"2018-10-30T14:23:09Z","updated_at":"2018-11-07T23:01:48Z","pushed_at":"2018-11-07T16:07:59Z","git_url":"git://github.com/google/renameio.git","ssh_url":"git@github.com:google/renameio.git","clone_url":"https://github.com/google/renameio.git","svn_url":"https://github.com/google/renameio","homepage":"","size":15,"stargazers_count":242,"watchers_count":242,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":6,"open_issues":5,"watchers":242,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/renameio/pulls/7"},"html":{"href":"https://github.com/google/renameio/pull/7"},"issue":{"href":"https://api.github.com/repos/google/renameio/issues/7"},"comments":{"href":"https://api.github.com/repos/google/renameio/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/google/renameio/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/google/renameio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/renameio/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/google/renameio/statuses/6d2b50ff922620d73542ae83b1edff53fced695d"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":28,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"twpayne"}}