{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls/7","id":30702371,"html_url":"https://github.com/koshigoe/a-tour-of-go-exercise/pull/7","diff_url":"https://github.com/koshigoe/a-tour-of-go-exercise/pull/7.diff","patch_url":"https://github.com/koshigoe/a-tour-of-go-exercise/pull/7.patch","issue_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues/7","number":7,"state":"open","locked":false,"title":"Exercise: HTTP Handlers","user":{"login":"koshigoe","id":18269,"avatar_url":"https://avatars.githubusercontent.com/u/18269?v=3","gravatar_id":"","url":"https://api.github.com/users/koshigoe","html_url":"https://github.com/koshigoe","followers_url":"https://api.github.com/users/koshigoe/followers","following_url":"https://api.github.com/users/koshigoe/following{/other_user}","gists_url":"https://api.github.com/users/koshigoe/gists{/gist_id}","starred_url":"https://api.github.com/users/koshigoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koshigoe/subscriptions","organizations_url":"https://api.github.com/users/koshigoe/orgs","repos_url":"https://api.github.com/users/koshigoe/repos","events_url":"https://api.github.com/users/koshigoe/events{/privacy}","received_events_url":"https://api.github.com/users/koshigoe/received_events","type":"User","site_admin":false},"body":"以下の型を実装し、それらにServeHTTPメソッドを定義してみてください。 自分のWebサーバで、特定のパスを処理（ハンドル）できるように登録してみてください。\n\n```go\ntype String string\n\ntype Struct struct {\n    Greeting string\n    Punct    string\n    Who      string\n}\n```\n例えば、以下のようなハンドラを用いて登録できるようにする必要があります。\n\n```go\nhttp.Handle(\"/string\", String(\"I'm a frayed knot.\"))\nhttp.Handle(\"/struct\", &Struct{\"Hello\", \":\", \"Gophers!\"})\n```","created_at":"2015-03-07T12:52:11Z","updated_at":"2015-03-07T12:52:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls/7/commits","review_comments_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls/7/comments","review_comment_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues/7/comments","statuses_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/statuses/62a04efc7611a4f807e51fffc10ecbaf646fc586","head":{"label":"koshigoe:58-HTTP-Handlers","ref":"58-HTTP-Handlers","sha":"62a04efc7611a4f807e51fffc10ecbaf646fc586","user":{"login":"koshigoe","id":18269,"avatar_url":"https://avatars.githubusercontent.com/u/18269?v=3","gravatar_id":"","url":"https://api.github.com/users/koshigoe","html_url":"https://github.com/koshigoe","followers_url":"https://api.github.com/users/koshigoe/followers","following_url":"https://api.github.com/users/koshigoe/following{/other_user}","gists_url":"https://api.github.com/users/koshigoe/gists{/gist_id}","starred_url":"https://api.github.com/users/koshigoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koshigoe/subscriptions","organizations_url":"https://api.github.com/users/koshigoe/orgs","repos_url":"https://api.github.com/users/koshigoe/repos","events_url":"https://api.github.com/users/koshigoe/events{/privacy}","received_events_url":"https://api.github.com/users/koshigoe/received_events","type":"User","site_admin":false},"repo":{"id":31810981,"name":"a-tour-of-go-exercise","full_name":"koshigoe/a-tour-of-go-exercise","owner":{"login":"koshigoe","id":18269,"avatar_url":"https://avatars.githubusercontent.com/u/18269?v=3","gravatar_id":"","url":"https://api.github.com/users/koshigoe","html_url":"https://github.com/koshigoe","followers_url":"https://api.github.com/users/koshigoe/followers","following_url":"https://api.github.com/users/koshigoe/following{/other_user}","gists_url":"https://api.github.com/users/koshigoe/gists{/gist_id}","starred_url":"https://api.github.com/users/koshigoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koshigoe/subscriptions","organizations_url":"https://api.github.com/users/koshigoe/orgs","repos_url":"https://api.github.com/users/koshigoe/repos","events_url":"https://api.github.com/users/koshigoe/events{/privacy}","received_events_url":"https://api.github.com/users/koshigoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/koshigoe/a-tour-of-go-exercise","description":"A Tour of Go Exercise","fork":false,"url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise","forks_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/forks","keys_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/teams","hooks_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/hooks","issue_events_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues/events{/number}","events_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/events","assignees_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/assignees{/user}","branches_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/branches{/branch}","tags_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/tags","blobs_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/refs{/sha}","trees_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/statuses/{sha}","languages_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/languages","stargazers_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/stargazers","contributors_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/contributors","subscribers_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/subscribers","subscription_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/subscription","commits_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/commits{/sha}","git_commits_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/commits{/sha}","comments_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/comments{/number}","issue_comment_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues/comments{/number}","contents_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/contents/{+path}","compare_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/merges","archive_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/downloads","issues_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues{/number}","pulls_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls{/number}","milestones_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/milestones{/number}","notifications_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/labels{/name}","releases_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/releases{/id}","created_at":"2015-03-07T12:12:29Z","updated_at":"2015-03-07T12:38:16Z","pushed_at":"2015-03-07T12:52:05Z","git_url":"git://github.com/koshigoe/a-tour-of-go-exercise.git","ssh_url":"git@github.com:koshigoe/a-tour-of-go-exercise.git","clone_url":"https://github.com/koshigoe/a-tour-of-go-exercise.git","svn_url":"https://github.com/koshigoe/a-tour-of-go-exercise","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"koshigoe:master","ref":"master","sha":"0e9cc33de14ae46883773fde9da3b524edfc95f5","user":{"login":"koshigoe","id":18269,"avatar_url":"https://avatars.githubusercontent.com/u/18269?v=3","gravatar_id":"","url":"https://api.github.com/users/koshigoe","html_url":"https://github.com/koshigoe","followers_url":"https://api.github.com/users/koshigoe/followers","following_url":"https://api.github.com/users/koshigoe/following{/other_user}","gists_url":"https://api.github.com/users/koshigoe/gists{/gist_id}","starred_url":"https://api.github.com/users/koshigoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koshigoe/subscriptions","organizations_url":"https://api.github.com/users/koshigoe/orgs","repos_url":"https://api.github.com/users/koshigoe/repos","events_url":"https://api.github.com/users/koshigoe/events{/privacy}","received_events_url":"https://api.github.com/users/koshigoe/received_events","type":"User","site_admin":false},"repo":{"id":31810981,"name":"a-tour-of-go-exercise","full_name":"koshigoe/a-tour-of-go-exercise","owner":{"login":"koshigoe","id":18269,"avatar_url":"https://avatars.githubusercontent.com/u/18269?v=3","gravatar_id":"","url":"https://api.github.com/users/koshigoe","html_url":"https://github.com/koshigoe","followers_url":"https://api.github.com/users/koshigoe/followers","following_url":"https://api.github.com/users/koshigoe/following{/other_user}","gists_url":"https://api.github.com/users/koshigoe/gists{/gist_id}","starred_url":"https://api.github.com/users/koshigoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koshigoe/subscriptions","organizations_url":"https://api.github.com/users/koshigoe/orgs","repos_url":"https://api.github.com/users/koshigoe/repos","events_url":"https://api.github.com/users/koshigoe/events{/privacy}","received_events_url":"https://api.github.com/users/koshigoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/koshigoe/a-tour-of-go-exercise","description":"A Tour of Go Exercise","fork":false,"url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise","forks_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/forks","keys_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/teams","hooks_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/hooks","issue_events_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues/events{/number}","events_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/events","assignees_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/assignees{/user}","branches_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/branches{/branch}","tags_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/tags","blobs_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/refs{/sha}","trees_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/statuses/{sha}","languages_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/languages","stargazers_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/stargazers","contributors_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/contributors","subscribers_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/subscribers","subscription_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/subscription","commits_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/commits{/sha}","git_commits_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/git/commits{/sha}","comments_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/comments{/number}","issue_comment_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues/comments{/number}","contents_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/contents/{+path}","compare_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/merges","archive_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/downloads","issues_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues{/number}","pulls_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls{/number}","milestones_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/milestones{/number}","notifications_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/labels{/name}","releases_url":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/releases{/id}","created_at":"2015-03-07T12:12:29Z","updated_at":"2015-03-07T12:38:16Z","pushed_at":"2015-03-07T12:52:05Z","git_url":"git://github.com/koshigoe/a-tour-of-go-exercise.git","ssh_url":"git@github.com:koshigoe/a-tour-of-go-exercise.git","clone_url":"https://github.com/koshigoe/a-tour-of-go-exercise.git","svn_url":"https://github.com/koshigoe/a-tour-of-go-exercise","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls/7"},"html":{"href":"https://github.com/koshigoe/a-tour-of-go-exercise/pull/7"},"issue":{"href":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues/7"},"comments":{"href":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/koshigoe/a-tour-of-go-exercise/statuses/62a04efc7611a4f807e51fffc10ecbaf646fc586"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":0,"changed_files":0}}