{"action":"created","comment":{"url":"https://api.github.com/repos/Clever/go-validation/pulls/comments/24682769","id":24682769,"diff_hunk":"@@ -6,35 +6,73 @@ import (\n \t\"strings\"\n )\n \n+type Option uint8\n+\n+const (\n+\t// Allows empty string, array or map. Default is false\n+\tAllowEmptyString Option = iota","path":"required.go","position":null,"original_position":14,"commit_id":"6a138013ff3d2e5ad15897b9aa35915631665fea","original_commit_id":"06fa4c36ca026db3e1ceae0107025919372bd553","user":{"login":"MaerF0x0","id":247846,"avatar_url":"https://avatars.githubusercontent.com/u/247846?v=3","gravatar_id":"","url":"https://api.github.com/users/MaerF0x0","html_url":"https://github.com/MaerF0x0","followers_url":"https://api.github.com/users/MaerF0x0/followers","following_url":"https://api.github.com/users/MaerF0x0/following{/other_user}","gists_url":"https://api.github.com/users/MaerF0x0/gists{/gist_id}","starred_url":"https://api.github.com/users/MaerF0x0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaerF0x0/subscriptions","organizations_url":"https://api.github.com/users/MaerF0x0/orgs","repos_url":"https://api.github.com/users/MaerF0x0/repos","events_url":"https://api.github.com/users/MaerF0x0/events{/privacy}","received_events_url":"https://api.github.com/users/MaerF0x0/received_events","type":"User","site_admin":false},"body":"Like this? 6a13801","created_at":"2015-02-13T17:58:49Z","updated_at":"2015-02-13T17:58:49Z","html_url":"https://github.com/Clever/go-validation/pull/1#discussion_r24682769","pull_request_url":"https://api.github.com/repos/Clever/go-validation/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Clever/go-validation/pulls/comments/24682769"},"html":{"href":"https://github.com/Clever/go-validation/pull/1#discussion_r24682769"},"pull_request":{"href":"https://api.github.com/repos/Clever/go-validation/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Clever/go-validation/pulls/1","id":28966603,"html_url":"https://github.com/Clever/go-validation/pull/1","diff_url":"https://github.com/Clever/go-validation/pull/1.diff","patch_url":"https://github.com/Clever/go-validation/pull/1.patch","issue_url":"https://api.github.com/repos/Clever/go-validation/issues/1","number":1,"state":"open","locked":false,"title":"Covers most cases of required validator","user":{"login":"MaerF0x0","id":247846,"avatar_url":"https://avatars.githubusercontent.com/u/247846?v=3","gravatar_id":"","url":"https://api.github.com/users/MaerF0x0","html_url":"https://github.com/MaerF0x0","followers_url":"https://api.github.com/users/MaerF0x0/followers","following_url":"https://api.github.com/users/MaerF0x0/following{/other_user}","gists_url":"https://api.github.com/users/MaerF0x0/gists{/gist_id}","starred_url":"https://api.github.com/users/MaerF0x0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaerF0x0/subscriptions","organizations_url":"https://api.github.com/users/MaerF0x0/orgs","repos_url":"https://api.github.com/users/MaerF0x0/repos","events_url":"https://api.github.com/users/MaerF0x0/events{/privacy}","received_events_url":"https://api.github.com/users/MaerF0x0/received_events","type":"User","site_admin":false},"body":"RequiredValidator for https://clever.atlassian.net/browse/DATA-839\r\n\r\nBasically implements \"field is required\" kind of logic","created_at":"2015-02-09T23:21:32Z","updated_at":"2015-02-13T17:58:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f14334469ac49fd58c1d5cebbf3eab63388276cb","assignee":{"login":"MaerF0x0","id":247846,"avatar_url":"https://avatars.githubusercontent.com/u/247846?v=3","gravatar_id":"","url":"https://api.github.com/users/MaerF0x0","html_url":"https://github.com/MaerF0x0","followers_url":"https://api.github.com/users/MaerF0x0/followers","following_url":"https://api.github.com/users/MaerF0x0/following{/other_user}","gists_url":"https://api.github.com/users/MaerF0x0/gists{/gist_id}","starred_url":"https://api.github.com/users/MaerF0x0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaerF0x0/subscriptions","organizations_url":"https://api.github.com/users/MaerF0x0/orgs","repos_url":"https://api.github.com/users/MaerF0x0/repos","events_url":"https://api.github.com/users/MaerF0x0/events{/privacy}","received_events_url":"https://api.github.com/users/MaerF0x0/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Clever/go-validation/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Clever/go-validation/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Clever/go-validation/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Clever/go-validation/issues/1/comments","statuses_url":"https://api.github.com/repos/Clever/go-validation/statuses/6a138013ff3d2e5ad15897b9aa35915631665fea","head":{"label":"Clever:required-validator","ref":"required-validator","sha":"6a138013ff3d2e5ad15897b9aa35915631665fea","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":30434960,"name":"go-validation","full_name":"Clever/go-validation","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/go-validation","description":"Go validation library","fork":false,"url":"https://api.github.com/repos/Clever/go-validation","forks_url":"https://api.github.com/repos/Clever/go-validation/forks","keys_url":"https://api.github.com/repos/Clever/go-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/go-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/go-validation/teams","hooks_url":"https://api.github.com/repos/Clever/go-validation/hooks","issue_events_url":"https://api.github.com/repos/Clever/go-validation/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/go-validation/events","assignees_url":"https://api.github.com/repos/Clever/go-validation/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/go-validation/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/go-validation/tags","blobs_url":"https://api.github.com/repos/Clever/go-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/go-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/go-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/go-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/go-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/go-validation/languages","stargazers_url":"https://api.github.com/repos/Clever/go-validation/stargazers","contributors_url":"https://api.github.com/repos/Clever/go-validation/contributors","subscribers_url":"https://api.github.com/repos/Clever/go-validation/subscribers","subscription_url":"https://api.github.com/repos/Clever/go-validation/subscription","commits_url":"https://api.github.com/repos/Clever/go-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/go-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/go-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/go-validation/issues/comments/{number}","contents_url":"https://api.github.com/repos/Clever/go-validation/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/go-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/go-validation/merges","archive_url":"https://api.github.com/repos/Clever/go-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/go-validation/downloads","issues_url":"https://api.github.com/repos/Clever/go-validation/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/go-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/go-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/go-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/go-validation/labels{/name}","releases_url":"https://api.github.com/repos/Clever/go-validation/releases{/id}","created_at":"2015-02-06T22:01:38Z","updated_at":"2015-02-07T01:06:28Z","pushed_at":"2015-02-13T17:58:35Z","git_url":"git://github.com/Clever/go-validation.git","ssh_url":"git@github.com:Clever/go-validation.git","clone_url":"https://github.com/Clever/go-validation.git","svn_url":"https://github.com/Clever/go-validation","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":"Clever:master","ref":"master","sha":"f92cd802588e455864c5456a8dd29df134e72ff3","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":30434960,"name":"go-validation","full_name":"Clever/go-validation","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/go-validation","description":"Go validation library","fork":false,"url":"https://api.github.com/repos/Clever/go-validation","forks_url":"https://api.github.com/repos/Clever/go-validation/forks","keys_url":"https://api.github.com/repos/Clever/go-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/go-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/go-validation/teams","hooks_url":"https://api.github.com/repos/Clever/go-validation/hooks","issue_events_url":"https://api.github.com/repos/Clever/go-validation/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/go-validation/events","assignees_url":"https://api.github.com/repos/Clever/go-validation/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/go-validation/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/go-validation/tags","blobs_url":"https://api.github.com/repos/Clever/go-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/go-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/go-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/go-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/go-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/go-validation/languages","stargazers_url":"https://api.github.com/repos/Clever/go-validation/stargazers","contributors_url":"https://api.github.com/repos/Clever/go-validation/contributors","subscribers_url":"https://api.github.com/repos/Clever/go-validation/subscribers","subscription_url":"https://api.github.com/repos/Clever/go-validation/subscription","commits_url":"https://api.github.com/repos/Clever/go-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/go-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/go-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/go-validation/issues/comments/{number}","contents_url":"https://api.github.com/repos/Clever/go-validation/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/go-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/go-validation/merges","archive_url":"https://api.github.com/repos/Clever/go-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/go-validation/downloads","issues_url":"https://api.github.com/repos/Clever/go-validation/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/go-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/go-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/go-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/go-validation/labels{/name}","releases_url":"https://api.github.com/repos/Clever/go-validation/releases{/id}","created_at":"2015-02-06T22:01:38Z","updated_at":"2015-02-07T01:06:28Z","pushed_at":"2015-02-13T17:58:35Z","git_url":"git://github.com/Clever/go-validation.git","ssh_url":"git@github.com:Clever/go-validation.git","clone_url":"https://github.com/Clever/go-validation.git","svn_url":"https://github.com/Clever/go-validation","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/Clever/go-validation/pulls/1"},"html":{"href":"https://github.com/Clever/go-validation/pull/1"},"issue":{"href":"https://api.github.com/repos/Clever/go-validation/issues/1"},"comments":{"href":"https://api.github.com/repos/Clever/go-validation/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Clever/go-validation/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Clever/go-validation/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Clever/go-validation/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Clever/go-validation/statuses/6a138013ff3d2e5ad15897b9aa35915631665fea"}}}}