{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls/2","id":54559136,"html_url":"https://github.com/giddyinc/barcode-scanner/pull/2","diff_url":"https://github.com/giddyinc/barcode-scanner/pull/2.diff","patch_url":"https://github.com/giddyinc/barcode-scanner/pull/2.patch","issue_url":"https://api.github.com/repos/giddyinc/barcode-scanner/issues/2","number":2,"state":"open","locked":false,"title":"Add CR as suffix and more","user":{"login":"wujiang","id":77030,"avatar_url":"https://avatars.githubusercontent.com/u/77030?v=3","gravatar_id":"","url":"https://api.github.com/users/wujiang","html_url":"https://github.com/wujiang","followers_url":"https://api.github.com/users/wujiang/followers","following_url":"https://api.github.com/users/wujiang/following{/other_user}","gists_url":"https://api.github.com/users/wujiang/gists{/gist_id}","starred_url":"https://api.github.com/users/wujiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wujiang/subscriptions","organizations_url":"https://api.github.com/users/wujiang/orgs","repos_url":"https://api.github.com/users/wujiang/repos","events_url":"https://api.github.com/users/wujiang/events{/privacy}","received_events_url":"https://api.github.com/users/wujiang/received_events","type":"User","site_admin":false},"body":"- add CR as suffix so that we know when a buffer ends for one barcode\n- fix keyboard mapping according to a legit manual\n  http://www.usb.org/developers/hidpage/Hut1_12v2.pdf page 53 and 54\n- rename constants and variables\n\nTested. Close #1","created_at":"2015-12-24T16:34:35Z","updated_at":"2015-12-24T16:34:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls/2/commits","review_comments_url":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls/2/comments","review_comment_url":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/giddyinc/barcode-scanner/issues/2/comments","statuses_url":"https://api.github.com/repos/giddyinc/barcode-scanner/statuses/0dd4a217e6135d1c227ae385c4b4c26cd15be69c","head":{"label":"giddyinc:wujiang/1","ref":"wujiang/1","sha":"0dd4a217e6135d1c227ae385c4b4c26cd15be69c","user":{"login":"giddyinc","id":3772875,"avatar_url":"https://avatars.githubusercontent.com/u/3772875?v=3","gravatar_id":"","url":"https://api.github.com/users/giddyinc","html_url":"https://github.com/giddyinc","followers_url":"https://api.github.com/users/giddyinc/followers","following_url":"https://api.github.com/users/giddyinc/following{/other_user}","gists_url":"https://api.github.com/users/giddyinc/gists{/gist_id}","starred_url":"https://api.github.com/users/giddyinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giddyinc/subscriptions","organizations_url":"https://api.github.com/users/giddyinc/orgs","repos_url":"https://api.github.com/users/giddyinc/repos","events_url":"https://api.github.com/users/giddyinc/events{/privacy}","received_events_url":"https://api.github.com/users/giddyinc/received_events","type":"Organization","site_admin":false},"repo":{"id":47722078,"name":"barcode-scanner","full_name":"giddyinc/barcode-scanner","owner":{"login":"giddyinc","id":3772875,"avatar_url":"https://avatars.githubusercontent.com/u/3772875?v=3","gravatar_id":"","url":"https://api.github.com/users/giddyinc","html_url":"https://github.com/giddyinc","followers_url":"https://api.github.com/users/giddyinc/followers","following_url":"https://api.github.com/users/giddyinc/following{/other_user}","gists_url":"https://api.github.com/users/giddyinc/gists{/gist_id}","starred_url":"https://api.github.com/users/giddyinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giddyinc/subscriptions","organizations_url":"https://api.github.com/users/giddyinc/orgs","repos_url":"https://api.github.com/users/giddyinc/repos","events_url":"https://api.github.com/users/giddyinc/events{/privacy}","received_events_url":"https://api.github.com/users/giddyinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giddyinc/barcode-scanner","description":"Read buffer from usb barcode scanner","fork":false,"url":"https://api.github.com/repos/giddyinc/barcode-scanner","forks_url":"https://api.github.com/repos/giddyinc/barcode-scanner/forks","keys_url":"https://api.github.com/repos/giddyinc/barcode-scanner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giddyinc/barcode-scanner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giddyinc/barcode-scanner/teams","hooks_url":"https://api.github.com/repos/giddyinc/barcode-scanner/hooks","issue_events_url":"https://api.github.com/repos/giddyinc/barcode-scanner/issues/events{/number}","events_url":"https://api.github.com/repos/giddyinc/barcode-scanner/events","assignees_url":"https://api.github.com/repos/giddyinc/barcode-scanner/assignees{/user}","branches_url":"https://api.github.com/repos/giddyinc/barcode-scanner/branches{/branch}","tags_url":"https://api.github.com/repos/giddyinc/barcode-scanner/tags","blobs_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/refs{/sha}","trees_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giddyinc/barcode-scanner/statuses/{sha}","languages_url":"https://api.github.com/repos/giddyinc/barcode-scanner/languages","stargazers_url":"https://api.github.com/repos/giddyinc/barcode-scanner/stargazers","contributors_url":"https://api.github.com/repos/giddyinc/barcode-scanner/contributors","subscribers_url":"https://api.github.com/repos/giddyinc/barcode-scanner/subscribers","subscription_url":"https://api.github.com/repos/giddyinc/barcode-scanner/subscription","commits_url":"https://api.github.com/repos/giddyinc/barcode-scanner/commits{/sha}","git_commits_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/commits{/sha}","comments_url":"https://api.github.com/repos/giddyinc/barcode-scanner/comments{/number}","issue_comment_url":"https://api.github.com/repos/giddyinc/barcode-scanner/issues/comments{/number}","contents_url":"https://api.github.com/repos/giddyinc/barcode-scanner/contents/{+path}","compare_url":"https://api.github.com/repos/giddyinc/barcode-scanner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giddyinc/barcode-scanner/merges","archive_url":"https://api.github.com/repos/giddyinc/barcode-scanner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giddyinc/barcode-scanner/downloads","issues_url":"https://api.github.com/repos/giddyinc/barcode-scanner/issues{/number}","pulls_url":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls{/number}","milestones_url":"https://api.github.com/repos/giddyinc/barcode-scanner/milestones{/number}","notifications_url":"https://api.github.com/repos/giddyinc/barcode-scanner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giddyinc/barcode-scanner/labels{/name}","releases_url":"https://api.github.com/repos/giddyinc/barcode-scanner/releases{/id}","created_at":"2015-12-09T22:07:16Z","updated_at":"2015-12-09T22:17:32Z","pushed_at":"2015-12-24T16:34:33Z","git_url":"git://github.com/giddyinc/barcode-scanner.git","ssh_url":"git@github.com:giddyinc/barcode-scanner.git","clone_url":"https://github.com/giddyinc/barcode-scanner.git","svn_url":"https://github.com/giddyinc/barcode-scanner","homepage":"","size":7,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"giddyinc:master","ref":"master","sha":"0020e924cbd6ca6f169c888a671ffb71bba6250e","user":{"login":"giddyinc","id":3772875,"avatar_url":"https://avatars.githubusercontent.com/u/3772875?v=3","gravatar_id":"","url":"https://api.github.com/users/giddyinc","html_url":"https://github.com/giddyinc","followers_url":"https://api.github.com/users/giddyinc/followers","following_url":"https://api.github.com/users/giddyinc/following{/other_user}","gists_url":"https://api.github.com/users/giddyinc/gists{/gist_id}","starred_url":"https://api.github.com/users/giddyinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giddyinc/subscriptions","organizations_url":"https://api.github.com/users/giddyinc/orgs","repos_url":"https://api.github.com/users/giddyinc/repos","events_url":"https://api.github.com/users/giddyinc/events{/privacy}","received_events_url":"https://api.github.com/users/giddyinc/received_events","type":"Organization","site_admin":false},"repo":{"id":47722078,"name":"barcode-scanner","full_name":"giddyinc/barcode-scanner","owner":{"login":"giddyinc","id":3772875,"avatar_url":"https://avatars.githubusercontent.com/u/3772875?v=3","gravatar_id":"","url":"https://api.github.com/users/giddyinc","html_url":"https://github.com/giddyinc","followers_url":"https://api.github.com/users/giddyinc/followers","following_url":"https://api.github.com/users/giddyinc/following{/other_user}","gists_url":"https://api.github.com/users/giddyinc/gists{/gist_id}","starred_url":"https://api.github.com/users/giddyinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giddyinc/subscriptions","organizations_url":"https://api.github.com/users/giddyinc/orgs","repos_url":"https://api.github.com/users/giddyinc/repos","events_url":"https://api.github.com/users/giddyinc/events{/privacy}","received_events_url":"https://api.github.com/users/giddyinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giddyinc/barcode-scanner","description":"Read buffer from usb barcode scanner","fork":false,"url":"https://api.github.com/repos/giddyinc/barcode-scanner","forks_url":"https://api.github.com/repos/giddyinc/barcode-scanner/forks","keys_url":"https://api.github.com/repos/giddyinc/barcode-scanner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giddyinc/barcode-scanner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giddyinc/barcode-scanner/teams","hooks_url":"https://api.github.com/repos/giddyinc/barcode-scanner/hooks","issue_events_url":"https://api.github.com/repos/giddyinc/barcode-scanner/issues/events{/number}","events_url":"https://api.github.com/repos/giddyinc/barcode-scanner/events","assignees_url":"https://api.github.com/repos/giddyinc/barcode-scanner/assignees{/user}","branches_url":"https://api.github.com/repos/giddyinc/barcode-scanner/branches{/branch}","tags_url":"https://api.github.com/repos/giddyinc/barcode-scanner/tags","blobs_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/refs{/sha}","trees_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giddyinc/barcode-scanner/statuses/{sha}","languages_url":"https://api.github.com/repos/giddyinc/barcode-scanner/languages","stargazers_url":"https://api.github.com/repos/giddyinc/barcode-scanner/stargazers","contributors_url":"https://api.github.com/repos/giddyinc/barcode-scanner/contributors","subscribers_url":"https://api.github.com/repos/giddyinc/barcode-scanner/subscribers","subscription_url":"https://api.github.com/repos/giddyinc/barcode-scanner/subscription","commits_url":"https://api.github.com/repos/giddyinc/barcode-scanner/commits{/sha}","git_commits_url":"https://api.github.com/repos/giddyinc/barcode-scanner/git/commits{/sha}","comments_url":"https://api.github.com/repos/giddyinc/barcode-scanner/comments{/number}","issue_comment_url":"https://api.github.com/repos/giddyinc/barcode-scanner/issues/comments{/number}","contents_url":"https://api.github.com/repos/giddyinc/barcode-scanner/contents/{+path}","compare_url":"https://api.github.com/repos/giddyinc/barcode-scanner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giddyinc/barcode-scanner/merges","archive_url":"https://api.github.com/repos/giddyinc/barcode-scanner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giddyinc/barcode-scanner/downloads","issues_url":"https://api.github.com/repos/giddyinc/barcode-scanner/issues{/number}","pulls_url":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls{/number}","milestones_url":"https://api.github.com/repos/giddyinc/barcode-scanner/milestones{/number}","notifications_url":"https://api.github.com/repos/giddyinc/barcode-scanner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giddyinc/barcode-scanner/labels{/name}","releases_url":"https://api.github.com/repos/giddyinc/barcode-scanner/releases{/id}","created_at":"2015-12-09T22:07:16Z","updated_at":"2015-12-09T22:17:32Z","pushed_at":"2015-12-24T16:34:33Z","git_url":"git://github.com/giddyinc/barcode-scanner.git","ssh_url":"git@github.com:giddyinc/barcode-scanner.git","clone_url":"https://github.com/giddyinc/barcode-scanner.git","svn_url":"https://github.com/giddyinc/barcode-scanner","homepage":"","size":7,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls/2"},"html":{"href":"https://github.com/giddyinc/barcode-scanner/pull/2"},"issue":{"href":"https://api.github.com/repos/giddyinc/barcode-scanner/issues/2"},"comments":{"href":"https://api.github.com/repos/giddyinc/barcode-scanner/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/giddyinc/barcode-scanner/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/giddyinc/barcode-scanner/statuses/0dd4a217e6135d1c227ae385c4b4c26cd15be69c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":70,"deletions":66,"changed_files":1}}