{"action":"created","comment":{"url":"https://api.github.com/repos/reevoo/tracker/pulls/comments/44005965","id":44005965,"diff_hunk":"@@ -0,0 +1,37 @@\n+package main\n+\n+import (\n+\t. \"github.com/reevoo/tracker\"\n+\t\"os\"\n+\t\"os/signal\"\n+\t\"syscall\"\n+)\n+\n+var (\n+\tdynamoUri           = os.Getenv(\"DYNAMODB_URI\")\n+\tenv                 = os.Getenv(\"GO_ENV\")\n+\tTerm      os.Signal = syscall.SIGTERM\n+)\n+\n+func main() {\n+\tgo exitOnInterrupt()\n+\n+\t// Release mode reduces the amount of logging.","path":"main/server.go","position":19,"original_position":19,"commit_id":"371087110c73eea91726f076a0ed9857f7f92de4","original_commit_id":"371087110c73eea91726f076a0ed9857f7f92de4","user":{"login":"errm","id":115280,"avatar_url":"https://avatars.githubusercontent.com/u/115280?v=3","gravatar_id":"","url":"https://api.github.com/users/errm","html_url":"https://github.com/errm","followers_url":"https://api.github.com/users/errm/followers","following_url":"https://api.github.com/users/errm/following{/other_user}","gists_url":"https://api.github.com/users/errm/gists{/gist_id}","starred_url":"https://api.github.com/users/errm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errm/subscriptions","organizations_url":"https://api.github.com/users/errm/orgs","repos_url":"https://api.github.com/users/errm/repos","events_url":"https://api.github.com/users/errm/events{/privacy}","received_events_url":"https://api.github.com/users/errm/received_events","type":"User","site_admin":false},"body":"I think it mainly makes everything faster, in return for less nice backtraces . . . ","created_at":"2015-11-05T12:26:49Z","updated_at":"2015-11-05T12:26:49Z","html_url":"https://github.com/reevoo/tracker/pull/2#discussion_r44005965","pull_request_url":"https://api.github.com/repos/reevoo/tracker/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/reevoo/tracker/pulls/comments/44005965"},"html":{"href":"https://github.com/reevoo/tracker/pull/2#discussion_r44005965"},"pull_request":{"href":"https://api.github.com/repos/reevoo/tracker/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/reevoo/tracker/pulls/2","id":49811702,"html_url":"https://github.com/reevoo/tracker/pull/2","diff_url":"https://github.com/reevoo/tracker/pull/2.diff","patch_url":"https://github.com/reevoo/tracker/pull/2.patch","issue_url":"https://api.github.com/repos/reevoo/tracker/issues/2","number":2,"state":"open","locked":false,"title":"Added Tracker API.","user":{"login":"jonnyarnold","id":3803030,"avatar_url":"https://avatars.githubusercontent.com/u/3803030?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnyarnold","html_url":"https://github.com/jonnyarnold","followers_url":"https://api.github.com/users/jonnyarnold/followers","following_url":"https://api.github.com/users/jonnyarnold/following{/other_user}","gists_url":"https://api.github.com/users/jonnyarnold/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnyarnold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnyarnold/subscriptions","organizations_url":"https://api.github.com/users/jonnyarnold/orgs","repos_url":"https://api.github.com/users/jonnyarnold/repos","events_url":"https://api.github.com/users/jonnyarnold/events{/privacy}","received_events_url":"https://api.github.com/users/jonnyarnold/received_events","type":"User","site_admin":false},"body":"The Tracker API is a fast endpoint that collects event information. It uses the Gin library to build the API.\r\n\r\nThe information will be stored in DynamoDB in future; for now, it discards the information.\r\n","created_at":"2015-11-05T11:25:32Z","updated_at":"2015-11-05T12:26:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb9f4168d65dc1e70085180ad079cfc622738236","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reevoo/tracker/pulls/2/commits","review_comments_url":"https://api.github.com/repos/reevoo/tracker/pulls/2/comments","review_comment_url":"https://api.github.com/repos/reevoo/tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reevoo/tracker/issues/2/comments","statuses_url":"https://api.github.com/repos/reevoo/tracker/statuses/371087110c73eea91726f076a0ed9857f7f92de4","head":{"label":"reevoo:refactor","ref":"refactor","sha":"371087110c73eea91726f076a0ed9857f7f92de4","user":{"login":"reevoo","id":112922,"avatar_url":"https://avatars.githubusercontent.com/u/112922?v=3","gravatar_id":"","url":"https://api.github.com/users/reevoo","html_url":"https://github.com/reevoo","followers_url":"https://api.github.com/users/reevoo/followers","following_url":"https://api.github.com/users/reevoo/following{/other_user}","gists_url":"https://api.github.com/users/reevoo/gists{/gist_id}","starred_url":"https://api.github.com/users/reevoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reevoo/subscriptions","organizations_url":"https://api.github.com/users/reevoo/orgs","repos_url":"https://api.github.com/users/reevoo/repos","events_url":"https://api.github.com/users/reevoo/events{/privacy}","received_events_url":"https://api.github.com/users/reevoo/received_events","type":"Organization","site_admin":false},"repo":{"id":45468614,"name":"tracker","full_name":"reevoo/tracker","owner":{"login":"reevoo","id":112922,"avatar_url":"https://avatars.githubusercontent.com/u/112922?v=3","gravatar_id":"","url":"https://api.github.com/users/reevoo","html_url":"https://github.com/reevoo","followers_url":"https://api.github.com/users/reevoo/followers","following_url":"https://api.github.com/users/reevoo/following{/other_user}","gists_url":"https://api.github.com/users/reevoo/gists{/gist_id}","starred_url":"https://api.github.com/users/reevoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reevoo/subscriptions","organizations_url":"https://api.github.com/users/reevoo/orgs","repos_url":"https://api.github.com/users/reevoo/repos","events_url":"https://api.github.com/users/reevoo/events{/privacy}","received_events_url":"https://api.github.com/users/reevoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reevoo/tracker","description":"A generic API for tracking events","fork":false,"url":"https://api.github.com/repos/reevoo/tracker","forks_url":"https://api.github.com/repos/reevoo/tracker/forks","keys_url":"https://api.github.com/repos/reevoo/tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reevoo/tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reevoo/tracker/teams","hooks_url":"https://api.github.com/repos/reevoo/tracker/hooks","issue_events_url":"https://api.github.com/repos/reevoo/tracker/issues/events{/number}","events_url":"https://api.github.com/repos/reevoo/tracker/events","assignees_url":"https://api.github.com/repos/reevoo/tracker/assignees{/user}","branches_url":"https://api.github.com/repos/reevoo/tracker/branches{/branch}","tags_url":"https://api.github.com/repos/reevoo/tracker/tags","blobs_url":"https://api.github.com/repos/reevoo/tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reevoo/tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reevoo/tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/reevoo/tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reevoo/tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/reevoo/tracker/languages","stargazers_url":"https://api.github.com/repos/reevoo/tracker/stargazers","contributors_url":"https://api.github.com/repos/reevoo/tracker/contributors","subscribers_url":"https://api.github.com/repos/reevoo/tracker/subscribers","subscription_url":"https://api.github.com/repos/reevoo/tracker/subscription","commits_url":"https://api.github.com/repos/reevoo/tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/reevoo/tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/reevoo/tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/reevoo/tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/reevoo/tracker/contents/{+path}","compare_url":"https://api.github.com/repos/reevoo/tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reevoo/tracker/merges","archive_url":"https://api.github.com/repos/reevoo/tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reevoo/tracker/downloads","issues_url":"https://api.github.com/repos/reevoo/tracker/issues{/number}","pulls_url":"https://api.github.com/repos/reevoo/tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/reevoo/tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/reevoo/tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reevoo/tracker/labels{/name}","releases_url":"https://api.github.com/repos/reevoo/tracker/releases{/id}","created_at":"2015-11-03T13:35:52Z","updated_at":"2015-11-03T13:38:23Z","pushed_at":"2015-11-05T11:25:32Z","git_url":"git://github.com/reevoo/tracker.git","ssh_url":"git@github.com:reevoo/tracker.git","clone_url":"https://github.com/reevoo/tracker.git","svn_url":"https://github.com/reevoo/tracker","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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"reevoo:master","ref":"master","sha":"eaee9ef185465b6562f8493bc0d5791f21b60049","user":{"login":"reevoo","id":112922,"avatar_url":"https://avatars.githubusercontent.com/u/112922?v=3","gravatar_id":"","url":"https://api.github.com/users/reevoo","html_url":"https://github.com/reevoo","followers_url":"https://api.github.com/users/reevoo/followers","following_url":"https://api.github.com/users/reevoo/following{/other_user}","gists_url":"https://api.github.com/users/reevoo/gists{/gist_id}","starred_url":"https://api.github.com/users/reevoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reevoo/subscriptions","organizations_url":"https://api.github.com/users/reevoo/orgs","repos_url":"https://api.github.com/users/reevoo/repos","events_url":"https://api.github.com/users/reevoo/events{/privacy}","received_events_url":"https://api.github.com/users/reevoo/received_events","type":"Organization","site_admin":false},"repo":{"id":45468614,"name":"tracker","full_name":"reevoo/tracker","owner":{"login":"reevoo","id":112922,"avatar_url":"https://avatars.githubusercontent.com/u/112922?v=3","gravatar_id":"","url":"https://api.github.com/users/reevoo","html_url":"https://github.com/reevoo","followers_url":"https://api.github.com/users/reevoo/followers","following_url":"https://api.github.com/users/reevoo/following{/other_user}","gists_url":"https://api.github.com/users/reevoo/gists{/gist_id}","starred_url":"https://api.github.com/users/reevoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reevoo/subscriptions","organizations_url":"https://api.github.com/users/reevoo/orgs","repos_url":"https://api.github.com/users/reevoo/repos","events_url":"https://api.github.com/users/reevoo/events{/privacy}","received_events_url":"https://api.github.com/users/reevoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reevoo/tracker","description":"A generic API for tracking events","fork":false,"url":"https://api.github.com/repos/reevoo/tracker","forks_url":"https://api.github.com/repos/reevoo/tracker/forks","keys_url":"https://api.github.com/repos/reevoo/tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reevoo/tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reevoo/tracker/teams","hooks_url":"https://api.github.com/repos/reevoo/tracker/hooks","issue_events_url":"https://api.github.com/repos/reevoo/tracker/issues/events{/number}","events_url":"https://api.github.com/repos/reevoo/tracker/events","assignees_url":"https://api.github.com/repos/reevoo/tracker/assignees{/user}","branches_url":"https://api.github.com/repos/reevoo/tracker/branches{/branch}","tags_url":"https://api.github.com/repos/reevoo/tracker/tags","blobs_url":"https://api.github.com/repos/reevoo/tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reevoo/tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reevoo/tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/reevoo/tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reevoo/tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/reevoo/tracker/languages","stargazers_url":"https://api.github.com/repos/reevoo/tracker/stargazers","contributors_url":"https://api.github.com/repos/reevoo/tracker/contributors","subscribers_url":"https://api.github.com/repos/reevoo/tracker/subscribers","subscription_url":"https://api.github.com/repos/reevoo/tracker/subscription","commits_url":"https://api.github.com/repos/reevoo/tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/reevoo/tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/reevoo/tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/reevoo/tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/reevoo/tracker/contents/{+path}","compare_url":"https://api.github.com/repos/reevoo/tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reevoo/tracker/merges","archive_url":"https://api.github.com/repos/reevoo/tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reevoo/tracker/downloads","issues_url":"https://api.github.com/repos/reevoo/tracker/issues{/number}","pulls_url":"https://api.github.com/repos/reevoo/tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/reevoo/tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/reevoo/tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reevoo/tracker/labels{/name}","releases_url":"https://api.github.com/repos/reevoo/tracker/releases{/id}","created_at":"2015-11-03T13:35:52Z","updated_at":"2015-11-03T13:38:23Z","pushed_at":"2015-11-05T11:25:32Z","git_url":"git://github.com/reevoo/tracker.git","ssh_url":"git@github.com:reevoo/tracker.git","clone_url":"https://github.com/reevoo/tracker.git","svn_url":"https://github.com/reevoo/tracker","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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reevoo/tracker/pulls/2"},"html":{"href":"https://github.com/reevoo/tracker/pull/2"},"issue":{"href":"https://api.github.com/repos/reevoo/tracker/issues/2"},"comments":{"href":"https://api.github.com/repos/reevoo/tracker/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/reevoo/tracker/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/reevoo/tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reevoo/tracker/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/reevoo/tracker/statuses/371087110c73eea91726f076a0ed9857f7f92de4"}}}}