{"action":"created","comment":{"url":"https://api.github.com/repos/gopherdojo/dojo2/pulls/comments/197044460","pull_request_review_id":130705998,"id":197044460,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzA0NDQ2MA==","diff_hunk":"@@ -0,0 +1,37 @@\n+package converter\n+\n+import (\n+\t\"strings\"\n+\t\"path/filepath\"\n+)\n+\n+//拡張子名操作の便利機能をもつ, ファイルパスを表現する型.\n+type ConvertFile struct {\n+\tabsPath string\n+\tisDir bool\n+}\n+\n+//拡張子の取得(.なし)\n+func (f ConvertFile) ext() (string) {\n+\tlist := strings.Split(filepath.Ext(f.absPath), \".\")\n+\tif 2 <= len(list) && !f.isDir {\n+\t\treturn list[len(list) - 1]\n+\t} else {\n+\t\treturn \"\"\n+\t}\n+}\n+//任意の拡張子に変換したパスを取得.\n+func (f ConvertFile) arbitraryExtAbsPath(ext string) (string) {","path":"kadai1/mukai/converter/convertFile.go","position":24,"original_position":24,"commit_id":"f77e12dc71fab249321cab603348dab3c01c190f","original_commit_id":"f77e12dc71fab249321cab603348dab3c01c190f","user":{"login":"tenntenn","id":796820,"node_id":"MDQ6VXNlcjc5NjgyMA==","avatar_url":"https://avatars2.githubusercontent.com/u/796820?v=4","gravatar_id":"","url":"https://api.github.com/users/tenntenn","html_url":"https://github.com/tenntenn","followers_url":"https://api.github.com/users/tenntenn/followers","following_url":"https://api.github.com/users/tenntenn/following{/other_user}","gists_url":"https://api.github.com/users/tenntenn/gists{/gist_id}","starred_url":"https://api.github.com/users/tenntenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenntenn/subscriptions","organizations_url":"https://api.github.com/users/tenntenn/orgs","repos_url":"https://api.github.com/users/tenntenn/repos","events_url":"https://api.github.com/users/tenntenn/events{/privacy}","received_events_url":"https://api.github.com/users/tenntenn/received_events","type":"User","site_admin":false},"body":"gofmtがかかってないですね。","created_at":"2018-06-21T08:08:19Z","updated_at":"2018-06-21T08:11:54Z","html_url":"https://github.com/gopherdojo/dojo2/pull/4#discussion_r197044460","pull_request_url":"https://api.github.com/repos/gopherdojo/dojo2/pulls/4","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/gopherdojo/dojo2/pulls/comments/197044460"},"html":{"href":"https://github.com/gopherdojo/dojo2/pull/4#discussion_r197044460"},"pull_request":{"href":"https://api.github.com/repos/gopherdojo/dojo2/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/gopherdojo/dojo2/pulls/4","id":194643153,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NjQzMTUz","html_url":"https://github.com/gopherdojo/dojo2/pull/4","diff_url":"https://github.com/gopherdojo/dojo2/pull/4.diff","patch_url":"https://github.com/gopherdojo/dojo2/pull/4.patch","issue_url":"https://api.github.com/repos/gopherdojo/dojo2/issues/4","number":4,"state":"open","locked":false,"title":"画像変換コマンド実装.","user":{"login":"marshi","id":1423942,"node_id":"MDQ6VXNlcjE0MjM5NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/1423942?v=4","gravatar_id":"","url":"https://api.github.com/users/marshi","html_url":"https://github.com/marshi","followers_url":"https://api.github.com/users/marshi/followers","following_url":"https://api.github.com/users/marshi/following{/other_user}","gists_url":"https://api.github.com/users/marshi/gists{/gist_id}","starred_url":"https://api.github.com/users/marshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshi/subscriptions","organizations_url":"https://api.github.com/users/marshi/orgs","repos_url":"https://api.github.com/users/marshi/repos","events_url":"https://api.github.com/users/marshi/events{/privacy}","received_events_url":"https://api.github.com/users/marshi/received_events","type":"User","site_admin":false},"body":"課題1の提出です.","created_at":"2018-06-13T16:21:10Z","updated_at":"2018-06-21T08:11:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cba500430707cc42835e5fc413be98e906367e62","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gopherdojo/dojo2/pulls/4/commits","review_comments_url":"https://api.github.com/repos/gopherdojo/dojo2/pulls/4/comments","review_comment_url":"https://api.github.com/repos/gopherdojo/dojo2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gopherdojo/dojo2/issues/4/comments","statuses_url":"https://api.github.com/repos/gopherdojo/dojo2/statuses/f77e12dc71fab249321cab603348dab3c01c190f","head":{"label":"gopherdojo:kadai1-mukai","ref":"kadai1-mukai","sha":"f77e12dc71fab249321cab603348dab3c01c190f","user":{"login":"gopherdojo","id":38746752,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NzQ2NzUy","avatar_url":"https://avatars2.githubusercontent.com/u/38746752?v=4","gravatar_id":"","url":"https://api.github.com/users/gopherdojo","html_url":"https://github.com/gopherdojo","followers_url":"https://api.github.com/users/gopherdojo/followers","following_url":"https://api.github.com/users/gopherdojo/following{/other_user}","gists_url":"https://api.github.com/users/gopherdojo/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherdojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherdojo/subscriptions","organizations_url":"https://api.github.com/users/gopherdojo/orgs","repos_url":"https://api.github.com/users/gopherdojo/repos","events_url":"https://api.github.com/users/gopherdojo/events{/privacy}","received_events_url":"https://api.github.com/users/gopherdojo/received_events","type":"Organization","site_admin":false},"repo":{"id":136476334,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY0NzYzMzQ=","name":"dojo2","full_name":"gopherdojo/dojo2","owner":{"login":"gopherdojo","id":38746752,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NzQ2NzUy","avatar_url":"https://avatars2.githubusercontent.com/u/38746752?v=4","gravatar_id":"","url":"https://api.github.com/users/gopherdojo","html_url":"https://github.com/gopherdojo","followers_url":"https://api.github.com/users/gopherdojo/followers","following_url":"https://api.github.com/users/gopherdojo/following{/other_user}","gists_url":"https://api.github.com/users/gopherdojo/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherdojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherdojo/subscriptions","organizations_url":"https://api.github.com/users/gopherdojo/orgs","repos_url":"https://api.github.com/users/gopherdojo/repos","events_url":"https://api.github.com/users/gopherdojo/events{/privacy}","received_events_url":"https://api.github.com/users/gopherdojo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gopherdojo/dojo2","description":"#2 Gopher道場用のリポジトリです","fork":false,"url":"https://api.github.com/repos/gopherdojo/dojo2","forks_url":"https://api.github.com/repos/gopherdojo/dojo2/forks","keys_url":"https://api.github.com/repos/gopherdojo/dojo2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gopherdojo/dojo2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gopherdojo/dojo2/teams","hooks_url":"https://api.github.com/repos/gopherdojo/dojo2/hooks","issue_events_url":"https://api.github.com/repos/gopherdojo/dojo2/issues/events{/number}","events_url":"https://api.github.com/repos/gopherdojo/dojo2/events","assignees_url":"https://api.github.com/repos/gopherdojo/dojo2/assignees{/user}","branches_url":"https://api.github.com/repos/gopherdojo/dojo2/branches{/branch}","tags_url":"https://api.github.com/repos/gopherdojo/dojo2/tags","blobs_url":"https://api.github.com/repos/gopherdojo/dojo2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gopherdojo/dojo2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gopherdojo/dojo2/git/refs{/sha}","trees_url":"https://api.github.com/repos/gopherdojo/dojo2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gopherdojo/dojo2/statuses/{sha}","languages_url":"https://api.github.com/repos/gopherdojo/dojo2/languages","stargazers_url":"https://api.github.com/repos/gopherdojo/dojo2/stargazers","contributors_url":"https://api.github.com/repos/gopherdojo/dojo2/contributors","subscribers_url":"https://api.github.com/repos/gopherdojo/dojo2/subscribers","subscription_url":"https://api.github.com/repos/gopherdojo/dojo2/subscription","commits_url":"https://api.github.com/repos/gopherdojo/dojo2/commits{/sha}","git_commits_url":"https://api.github.com/repos/gopherdojo/dojo2/git/commits{/sha}","comments_url":"https://api.github.com/repos/gopherdojo/dojo2/comments{/number}","issue_comment_url":"https://api.github.com/repos/gopherdojo/dojo2/issues/comments{/number}","contents_url":"https://api.github.com/repos/gopherdojo/dojo2/contents/{+path}","compare_url":"https://api.github.com/repos/gopherdojo/dojo2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gopherdojo/dojo2/merges","archive_url":"https://api.github.com/repos/gopherdojo/dojo2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gopherdojo/dojo2/downloads","issues_url":"https://api.github.com/repos/gopherdojo/dojo2/issues{/number}","pulls_url":"https://api.github.com/repos/gopherdojo/dojo2/pulls{/number}","milestones_url":"https://api.github.com/repos/gopherdojo/dojo2/milestones{/number}","notifications_url":"https://api.github.com/repos/gopherdojo/dojo2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gopherdojo/dojo2/labels{/name}","releases_url":"https://api.github.com/repos/gopherdojo/dojo2/releases{/id}","deployments_url":"https://api.github.com/repos/gopherdojo/dojo2/deployments","created_at":"2018-06-07T12:47:09Z","updated_at":"2018-06-20T14:58:04Z","pushed_at":"2018-06-21T07:59:05Z","git_url":"git://github.com/gopherdojo/dojo2.git","ssh_url":"git@github.com:gopherdojo/dojo2.git","clone_url":"https://github.com/gopherdojo/dojo2.git","svn_url":"https://github.com/gopherdojo/dojo2","homepage":null,"size":77661,"stargazers_count":5,"watchers_count":5,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":0,"open_issues":12,"watchers":5,"default_branch":"master"}},"base":{"label":"gopherdojo:master","ref":"master","sha":"136320702ce4035a47b9392c9c540f541cf81494","user":{"login":"gopherdojo","id":38746752,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NzQ2NzUy","avatar_url":"https://avatars2.githubusercontent.com/u/38746752?v=4","gravatar_id":"","url":"https://api.github.com/users/gopherdojo","html_url":"https://github.com/gopherdojo","followers_url":"https://api.github.com/users/gopherdojo/followers","following_url":"https://api.github.com/users/gopherdojo/following{/other_user}","gists_url":"https://api.github.com/users/gopherdojo/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherdojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherdojo/subscriptions","organizations_url":"https://api.github.com/users/gopherdojo/orgs","repos_url":"https://api.github.com/users/gopherdojo/repos","events_url":"https://api.github.com/users/gopherdojo/events{/privacy}","received_events_url":"https://api.github.com/users/gopherdojo/received_events","type":"Organization","site_admin":false},"repo":{"id":136476334,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY0NzYzMzQ=","name":"dojo2","full_name":"gopherdojo/dojo2","owner":{"login":"gopherdojo","id":38746752,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NzQ2NzUy","avatar_url":"https://avatars2.githubusercontent.com/u/38746752?v=4","gravatar_id":"","url":"https://api.github.com/users/gopherdojo","html_url":"https://github.com/gopherdojo","followers_url":"https://api.github.com/users/gopherdojo/followers","following_url":"https://api.github.com/users/gopherdojo/following{/other_user}","gists_url":"https://api.github.com/users/gopherdojo/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherdojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherdojo/subscriptions","organizations_url":"https://api.github.com/users/gopherdojo/orgs","repos_url":"https://api.github.com/users/gopherdojo/repos","events_url":"https://api.github.com/users/gopherdojo/events{/privacy}","received_events_url":"https://api.github.com/users/gopherdojo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gopherdojo/dojo2","description":"#2 Gopher道場用のリポジトリです","fork":false,"url":"https://api.github.com/repos/gopherdojo/dojo2","forks_url":"https://api.github.com/repos/gopherdojo/dojo2/forks","keys_url":"https://api.github.com/repos/gopherdojo/dojo2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gopherdojo/dojo2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gopherdojo/dojo2/teams","hooks_url":"https://api.github.com/repos/gopherdojo/dojo2/hooks","issue_events_url":"https://api.github.com/repos/gopherdojo/dojo2/issues/events{/number}","events_url":"https://api.github.com/repos/gopherdojo/dojo2/events","assignees_url":"https://api.github.com/repos/gopherdojo/dojo2/assignees{/user}","branches_url":"https://api.github.com/repos/gopherdojo/dojo2/branches{/branch}","tags_url":"https://api.github.com/repos/gopherdojo/dojo2/tags","blobs_url":"https://api.github.com/repos/gopherdojo/dojo2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gopherdojo/dojo2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gopherdojo/dojo2/git/refs{/sha}","trees_url":"https://api.github.com/repos/gopherdojo/dojo2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gopherdojo/dojo2/statuses/{sha}","languages_url":"https://api.github.com/repos/gopherdojo/dojo2/languages","stargazers_url":"https://api.github.com/repos/gopherdojo/dojo2/stargazers","contributors_url":"https://api.github.com/repos/gopherdojo/dojo2/contributors","subscribers_url":"https://api.github.com/repos/gopherdojo/dojo2/subscribers","subscription_url":"https://api.github.com/repos/gopherdojo/dojo2/subscription","commits_url":"https://api.github.com/repos/gopherdojo/dojo2/commits{/sha}","git_commits_url":"https://api.github.com/repos/gopherdojo/dojo2/git/commits{/sha}","comments_url":"https://api.github.com/repos/gopherdojo/dojo2/comments{/number}","issue_comment_url":"https://api.github.com/repos/gopherdojo/dojo2/issues/comments{/number}","contents_url":"https://api.github.com/repos/gopherdojo/dojo2/contents/{+path}","compare_url":"https://api.github.com/repos/gopherdojo/dojo2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gopherdojo/dojo2/merges","archive_url":"https://api.github.com/repos/gopherdojo/dojo2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gopherdojo/dojo2/downloads","issues_url":"https://api.github.com/repos/gopherdojo/dojo2/issues{/number}","pulls_url":"https://api.github.com/repos/gopherdojo/dojo2/pulls{/number}","milestones_url":"https://api.github.com/repos/gopherdojo/dojo2/milestones{/number}","notifications_url":"https://api.github.com/repos/gopherdojo/dojo2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gopherdojo/dojo2/labels{/name}","releases_url":"https://api.github.com/repos/gopherdojo/dojo2/releases{/id}","deployments_url":"https://api.github.com/repos/gopherdojo/dojo2/deployments","created_at":"2018-06-07T12:47:09Z","updated_at":"2018-06-20T14:58:04Z","pushed_at":"2018-06-21T07:59:05Z","git_url":"git://github.com/gopherdojo/dojo2.git","ssh_url":"git@github.com:gopherdojo/dojo2.git","clone_url":"https://github.com/gopherdojo/dojo2.git","svn_url":"https://github.com/gopherdojo/dojo2","homepage":null,"size":77661,"stargazers_count":5,"watchers_count":5,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":0,"open_issues":12,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gopherdojo/dojo2/pulls/4"},"html":{"href":"https://github.com/gopherdojo/dojo2/pull/4"},"issue":{"href":"https://api.github.com/repos/gopherdojo/dojo2/issues/4"},"comments":{"href":"https://api.github.com/repos/gopherdojo/dojo2/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/gopherdojo/dojo2/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/gopherdojo/dojo2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gopherdojo/dojo2/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/gopherdojo/dojo2/statuses/f77e12dc71fab249321cab603348dab3c01c190f"}},"author_association":"NONE"}}
{"actor":{"display_login":"tenntenn"}}