{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/zencoder/gokay/pulls/8","id":127089925,"html_url":"https://github.com/zencoder/gokay/pull/8","diff_url":"https://github.com/zencoder/gokay/pull/8.diff","patch_url":"https://github.com/zencoder/gokay/pull/8.patch","issue_url":"https://api.github.com/repos/zencoder/gokay/issues/8","number":8,"state":"open","locked":false,"title":"Regexp","user":{"login":"Khalieb","id":1173637,"avatar_url":"https://avatars0.githubusercontent.com/u/1173637?v=3","gravatar_id":"","url":"https://api.github.com/users/Khalieb","html_url":"https://github.com/Khalieb","followers_url":"https://api.github.com/users/Khalieb/followers","following_url":"https://api.github.com/users/Khalieb/following{/other_user}","gists_url":"https://api.github.com/users/Khalieb/gists{/gist_id}","starred_url":"https://api.github.com/users/Khalieb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khalieb/subscriptions","organizations_url":"https://api.github.com/users/Khalieb/orgs","repos_url":"https://api.github.com/users/Khalieb/repos","events_url":"https://api.github.com/users/Khalieb/events{/privacy}","received_events_url":"https://api.github.com/users/Khalieb/received_events","type":"User","site_admin":false},"body":"Ran into this code while tracing `bolt-composite-jit`. Thought there might be room for improvement. Here is some benchmark data between the 3 versions. `V1` is the current version used with the pkg. Same is probably true for `IsUUID`. \r\n\r\nBenchmarkHexV1-8   \t  100000\t               11691 ns/op\t   45232 B/op\t      60 allocs/op\r\nBenchmarkHexV2-8   \t 2000000\t       752 ns/op\t      64 B/op\t       2 allocs/op\r\nBenchmarkHexV3-8   \t 3000000\t       546 ns/op\t       0 B/op\t       0 allocs/op","created_at":"2017-06-22T21:17:47Z","updated_at":"2017-06-22T21:17:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/zencoder/gokay/pulls/8/commits","review_comments_url":"https://api.github.com/repos/zencoder/gokay/pulls/8/comments","review_comment_url":"https://api.github.com/repos/zencoder/gokay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zencoder/gokay/issues/8/comments","statuses_url":"https://api.github.com/repos/zencoder/gokay/statuses/544f1dc6d1f7e5a42235df0cf1af4f12f1f98ee8","head":{"label":"zencoder:regexp","ref":"regexp","sha":"544f1dc6d1f7e5a42235df0cf1af4f12f1f98ee8","user":{"login":"zencoder","id":23879,"avatar_url":"https://avatars2.githubusercontent.com/u/23879?v=3","gravatar_id":"","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization","site_admin":false},"repo":{"id":67761904,"name":"gokay","full_name":"zencoder/gokay","owner":{"login":"zencoder","id":23879,"avatar_url":"https://avatars2.githubusercontent.com/u/23879?v=3","gravatar_id":"","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zencoder/gokay","description":"Code generated struct validation tool for go.","fork":false,"url":"https://api.github.com/repos/zencoder/gokay","forks_url":"https://api.github.com/repos/zencoder/gokay/forks","keys_url":"https://api.github.com/repos/zencoder/gokay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/gokay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/gokay/teams","hooks_url":"https://api.github.com/repos/zencoder/gokay/hooks","issue_events_url":"https://api.github.com/repos/zencoder/gokay/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/gokay/events","assignees_url":"https://api.github.com/repos/zencoder/gokay/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/gokay/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/gokay/tags","blobs_url":"https://api.github.com/repos/zencoder/gokay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/gokay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/gokay/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/gokay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/gokay/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/gokay/languages","stargazers_url":"https://api.github.com/repos/zencoder/gokay/stargazers","contributors_url":"https://api.github.com/repos/zencoder/gokay/contributors","subscribers_url":"https://api.github.com/repos/zencoder/gokay/subscribers","subscription_url":"https://api.github.com/repos/zencoder/gokay/subscription","commits_url":"https://api.github.com/repos/zencoder/gokay/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/gokay/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/gokay/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/gokay/issues/comments{/number}","contents_url":"https://api.github.com/repos/zencoder/gokay/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/gokay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/gokay/merges","archive_url":"https://api.github.com/repos/zencoder/gokay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/gokay/downloads","issues_url":"https://api.github.com/repos/zencoder/gokay/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/gokay/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/gokay/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/gokay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/gokay/labels{/name}","releases_url":"https://api.github.com/repos/zencoder/gokay/releases{/id}","deployments_url":"https://api.github.com/repos/zencoder/gokay/deployments","created_at":"2016-09-09T03:19:34Z","updated_at":"2017-03-21T22:47:34Z","pushed_at":"2017-06-22T21:12:57Z","git_url":"git://github.com/zencoder/gokay.git","ssh_url":"git@github.com:zencoder/gokay.git","clone_url":"https://github.com/zencoder/gokay.git","svn_url":"https://github.com/zencoder/gokay","homepage":"","size":49,"stargazers_count":9,"watchers_count":9,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":9,"default_branch":"master"}},"base":{"label":"zencoder:master","ref":"master","sha":"9d45a557b1c3f0abb67cfa2c17256575d979b991","user":{"login":"zencoder","id":23879,"avatar_url":"https://avatars2.githubusercontent.com/u/23879?v=3","gravatar_id":"","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization","site_admin":false},"repo":{"id":67761904,"name":"gokay","full_name":"zencoder/gokay","owner":{"login":"zencoder","id":23879,"avatar_url":"https://avatars2.githubusercontent.com/u/23879?v=3","gravatar_id":"","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zencoder/gokay","description":"Code generated struct validation tool for go.","fork":false,"url":"https://api.github.com/repos/zencoder/gokay","forks_url":"https://api.github.com/repos/zencoder/gokay/forks","keys_url":"https://api.github.com/repos/zencoder/gokay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/gokay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/gokay/teams","hooks_url":"https://api.github.com/repos/zencoder/gokay/hooks","issue_events_url":"https://api.github.com/repos/zencoder/gokay/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/gokay/events","assignees_url":"https://api.github.com/repos/zencoder/gokay/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/gokay/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/gokay/tags","blobs_url":"https://api.github.com/repos/zencoder/gokay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/gokay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/gokay/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/gokay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/gokay/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/gokay/languages","stargazers_url":"https://api.github.com/repos/zencoder/gokay/stargazers","contributors_url":"https://api.github.com/repos/zencoder/gokay/contributors","subscribers_url":"https://api.github.com/repos/zencoder/gokay/subscribers","subscription_url":"https://api.github.com/repos/zencoder/gokay/subscription","commits_url":"https://api.github.com/repos/zencoder/gokay/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/gokay/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/gokay/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/gokay/issues/comments{/number}","contents_url":"https://api.github.com/repos/zencoder/gokay/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/gokay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/gokay/merges","archive_url":"https://api.github.com/repos/zencoder/gokay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/gokay/downloads","issues_url":"https://api.github.com/repos/zencoder/gokay/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/gokay/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/gokay/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/gokay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/gokay/labels{/name}","releases_url":"https://api.github.com/repos/zencoder/gokay/releases{/id}","deployments_url":"https://api.github.com/repos/zencoder/gokay/deployments","created_at":"2016-09-09T03:19:34Z","updated_at":"2017-03-21T22:47:34Z","pushed_at":"2017-06-22T21:12:57Z","git_url":"git://github.com/zencoder/gokay.git","ssh_url":"git@github.com:zencoder/gokay.git","clone_url":"https://github.com/zencoder/gokay.git","svn_url":"https://github.com/zencoder/gokay","homepage":"","size":49,"stargazers_count":9,"watchers_count":9,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zencoder/gokay/pulls/8"},"html":{"href":"https://github.com/zencoder/gokay/pull/8"},"issue":{"href":"https://api.github.com/repos/zencoder/gokay/issues/8"},"comments":{"href":"https://api.github.com/repos/zencoder/gokay/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/zencoder/gokay/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/zencoder/gokay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zencoder/gokay/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/zencoder/gokay/statuses/544f1dc6d1f7e5a42235df0cf1af4f12f1f98ee8"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":60,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"Khalieb"}}