{"action":"created","issue":{"url":"https://api.github.com/repos/gogo/protobuf/issues/100","labels_url":"https://api.github.com/repos/gogo/protobuf/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/gogo/protobuf/issues/100/comments","events_url":"https://api.github.com/repos/gogo/protobuf/issues/100/events","html_url":"https://github.com/gogo/protobuf/pull/100","id":103941380,"number":100,"title":"Feature/96 validators","user":{"login":"mwitkow-io","id":9655971,"avatar_url":"https://avatars.githubusercontent.com/u/9655971?v=3","gravatar_id":"","url":"https://api.github.com/users/mwitkow-io","html_url":"https://github.com/mwitkow-io","followers_url":"https://api.github.com/users/mwitkow-io/followers","following_url":"https://api.github.com/users/mwitkow-io/following{/other_user}","gists_url":"https://api.github.com/users/mwitkow-io/gists{/gist_id}","starred_url":"https://api.github.com/users/mwitkow-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwitkow-io/subscriptions","organizations_url":"https://api.github.com/users/mwitkow-io/orgs","repos_url":"https://api.github.com/users/mwitkow-io/repos","events_url":"https://api.github.com/users/mwitkow-io/events{/privacy}","received_events_url":"https://api.github.com/users/mwitkow-io/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-30T19:31:36Z","updated_at":"2015-08-31T13:34:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gogo/protobuf/pulls/100","html_url":"https://github.com/gogo/protobuf/pull/100","diff_url":"https://github.com/gogo/protobuf/pull/100.diff","patch_url":"https://github.com/gogo/protobuf/pull/100.patch"},"body":"** work in progress**\r\n\r\nImplementation of the validator gadget. Currently supporting regex and integer greater than/lesser than.\r\n\r\nTODO:\r\n - tests\r\n - comments\r\n\r\nhttps://github.com/gogo/protobuf/issues/96"},"comment":{"url":"https://api.github.com/repos/gogo/protobuf/issues/comments/136373107","html_url":"https://github.com/gogo/protobuf/pull/100#issuecomment-136373107","issue_url":"https://api.github.com/repos/gogo/protobuf/issues/100","id":136373107,"user":{"login":"awalterschulze","id":1829933,"avatar_url":"https://avatars.githubusercontent.com/u/1829933?v=3","gravatar_id":"","url":"https://api.github.com/users/awalterschulze","html_url":"https://github.com/awalterschulze","followers_url":"https://api.github.com/users/awalterschulze/followers","following_url":"https://api.github.com/users/awalterschulze/following{/other_user}","gists_url":"https://api.github.com/users/awalterschulze/gists{/gist_id}","starred_url":"https://api.github.com/users/awalterschulze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awalterschulze/subscriptions","organizations_url":"https://api.github.com/users/awalterschulze/orgs","repos_url":"https://api.github.com/users/awalterschulze/repos","events_url":"https://api.github.com/users/awalterschulze/events{/privacy}","received_events_url":"https://api.github.com/users/awalterschulze/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T13:34:45Z","updated_at":"2015-08-31T13:34:45Z","body":"In https://github.com/gogo/protobuf/blob/master/test/example/example.proto you can see \r\n```\r\noption (gogoproto.populate_all) = true;\r\n```\r\n\r\nThis generates a NewPopulatedA function\r\nhttps://github.com/gogo/protobuf/blob/master/test/example/example.pb.go#L1617\r\n\r\nWhich is used by the generated tests\r\nhttps://github.com/gogo/protobuf/blob/master/test/example/examplepb_test.go#L38"}}