{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/uber-go/config/pulls/27","id":126455107,"html_url":"https://github.com/uber-go/config/pull/27","diff_url":"https://github.com/uber-go/config/pull/27.diff","patch_url":"https://github.com/uber-go/config/pull/27.patch","issue_url":"https://api.github.com/repos/uber-go/config/issues/27","number":27,"state":"open","locked":false,"title":"Check implementation of TextUnmarshaller on all types","user":{"login":"alsamylkin","id":20309319,"avatar_url":"https://avatars1.githubusercontent.com/u/20309319?v=3","gravatar_id":"","url":"https://api.github.com/users/alsamylkin","html_url":"https://github.com/alsamylkin","followers_url":"https://api.github.com/users/alsamylkin/followers","following_url":"https://api.github.com/users/alsamylkin/following{/other_user}","gists_url":"https://api.github.com/users/alsamylkin/gists{/gist_id}","starred_url":"https://api.github.com/users/alsamylkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsamylkin/subscriptions","organizations_url":"https://api.github.com/users/alsamylkin/orgs","repos_url":"https://api.github.com/users/alsamylkin/repos","events_url":"https://api.github.com/users/alsamylkin/events{/privacy}","received_events_url":"https://api.github.com/users/alsamylkin/received_events","type":"User","site_admin":false},"body":"`Populate` is using `encoding.TextUnmarshaller` interface only on scalar types, \r\nfunctions and channels, but any type can implement it, e.g. [zap.AtomicLevel](https://github.com/uber-go/zap/blob/master/level.go#L109)\r\n\r\nWe are using `Value.String()` to construct the byte array. In case of scalar types\r\nreceived from a provider, text does not need extra formatting. `TextUnmarshaller`\r\nimplementation should be aware of the source of the values for complex types.\r\nFor example in `TestUnmarshalTextOnComplexStruct` the actual contents of byte \r\narray are `map[year:1994 title:Free Willy]`","created_at":"2017-06-20T06:21:55Z","updated_at":"2017-06-20T06:21:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/uber-go/config/pulls/27/commits","review_comments_url":"https://api.github.com/repos/uber-go/config/pulls/27/comments","review_comment_url":"https://api.github.com/repos/uber-go/config/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber-go/config/issues/27/comments","statuses_url":"https://api.github.com/repos/uber-go/config/statuses/ce04aedea6d69a1d72eb1e1bf7b6b01914b07a32","head":{"label":"uber-go:alsam-TextUnmarshaller","ref":"alsam-TextUnmarshaller","sha":"ce04aedea6d69a1d72eb1e1bf7b6b01914b07a32","user":{"login":"uber-go","id":19262598,"avatar_url":"https://avatars1.githubusercontent.com/u/19262598?v=3","gravatar_id":"","url":"https://api.github.com/users/uber-go","html_url":"https://github.com/uber-go","followers_url":"https://api.github.com/users/uber-go/followers","following_url":"https://api.github.com/users/uber-go/following{/other_user}","gists_url":"https://api.github.com/users/uber-go/gists{/gist_id}","starred_url":"https://api.github.com/users/uber-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber-go/subscriptions","organizations_url":"https://api.github.com/users/uber-go/orgs","repos_url":"https://api.github.com/users/uber-go/repos","events_url":"https://api.github.com/users/uber-go/events{/privacy}","received_events_url":"https://api.github.com/users/uber-go/received_events","type":"Organization","site_admin":false},"repo":{"id":92202364,"name":"config","full_name":"uber-go/config","owner":{"login":"uber-go","id":19262598,"avatar_url":"https://avatars1.githubusercontent.com/u/19262598?v=3","gravatar_id":"","url":"https://api.github.com/users/uber-go","html_url":"https://github.com/uber-go","followers_url":"https://api.github.com/users/uber-go/followers","following_url":"https://api.github.com/users/uber-go/following{/other_user}","gists_url":"https://api.github.com/users/uber-go/gists{/gist_id}","starred_url":"https://api.github.com/users/uber-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber-go/subscriptions","organizations_url":"https://api.github.com/users/uber-go/orgs","repos_url":"https://api.github.com/users/uber-go/repos","events_url":"https://api.github.com/users/uber-go/events{/privacy}","received_events_url":"https://api.github.com/users/uber-go/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber-go/config","description":"[BETA] High-level config for Go","fork":false,"url":"https://api.github.com/repos/uber-go/config","forks_url":"https://api.github.com/repos/uber-go/config/forks","keys_url":"https://api.github.com/repos/uber-go/config/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber-go/config/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber-go/config/teams","hooks_url":"https://api.github.com/repos/uber-go/config/hooks","issue_events_url":"https://api.github.com/repos/uber-go/config/issues/events{/number}","events_url":"https://api.github.com/repos/uber-go/config/events","assignees_url":"https://api.github.com/repos/uber-go/config/assignees{/user}","branches_url":"https://api.github.com/repos/uber-go/config/branches{/branch}","tags_url":"https://api.github.com/repos/uber-go/config/tags","blobs_url":"https://api.github.com/repos/uber-go/config/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber-go/config/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber-go/config/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber-go/config/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber-go/config/statuses/{sha}","languages_url":"https://api.github.com/repos/uber-go/config/languages","stargazers_url":"https://api.github.com/repos/uber-go/config/stargazers","contributors_url":"https://api.github.com/repos/uber-go/config/contributors","subscribers_url":"https://api.github.com/repos/uber-go/config/subscribers","subscription_url":"https://api.github.com/repos/uber-go/config/subscription","commits_url":"https://api.github.com/repos/uber-go/config/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber-go/config/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber-go/config/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber-go/config/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber-go/config/contents/{+path}","compare_url":"https://api.github.com/repos/uber-go/config/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber-go/config/merges","archive_url":"https://api.github.com/repos/uber-go/config/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber-go/config/downloads","issues_url":"https://api.github.com/repos/uber-go/config/issues{/number}","pulls_url":"https://api.github.com/repos/uber-go/config/pulls{/number}","milestones_url":"https://api.github.com/repos/uber-go/config/milestones{/number}","notifications_url":"https://api.github.com/repos/uber-go/config/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber-go/config/labels{/name}","releases_url":"https://api.github.com/repos/uber-go/config/releases{/id}","deployments_url":"https://api.github.com/repos/uber-go/config/deployments","created_at":"2017-05-23T17:45:52Z","updated_at":"2017-06-13T09:48:14Z","pushed_at":"2017-06-20T05:42:08Z","git_url":"git://github.com/uber-go/config.git","ssh_url":"git@github.com:uber-go/config.git","clone_url":"https://github.com/uber-go/config.git","svn_url":"https://github.com/uber-go/config","homepage":"","size":133,"stargazers_count":14,"watchers_count":14,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":14,"default_branch":"master"}},"base":{"label":"uber-go:master","ref":"master","sha":"1278baf8a5065bafb11f658520b8c4fffef649cb","user":{"login":"uber-go","id":19262598,"avatar_url":"https://avatars1.githubusercontent.com/u/19262598?v=3","gravatar_id":"","url":"https://api.github.com/users/uber-go","html_url":"https://github.com/uber-go","followers_url":"https://api.github.com/users/uber-go/followers","following_url":"https://api.github.com/users/uber-go/following{/other_user}","gists_url":"https://api.github.com/users/uber-go/gists{/gist_id}","starred_url":"https://api.github.com/users/uber-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber-go/subscriptions","organizations_url":"https://api.github.com/users/uber-go/orgs","repos_url":"https://api.github.com/users/uber-go/repos","events_url":"https://api.github.com/users/uber-go/events{/privacy}","received_events_url":"https://api.github.com/users/uber-go/received_events","type":"Organization","site_admin":false},"repo":{"id":92202364,"name":"config","full_name":"uber-go/config","owner":{"login":"uber-go","id":19262598,"avatar_url":"https://avatars1.githubusercontent.com/u/19262598?v=3","gravatar_id":"","url":"https://api.github.com/users/uber-go","html_url":"https://github.com/uber-go","followers_url":"https://api.github.com/users/uber-go/followers","following_url":"https://api.github.com/users/uber-go/following{/other_user}","gists_url":"https://api.github.com/users/uber-go/gists{/gist_id}","starred_url":"https://api.github.com/users/uber-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber-go/subscriptions","organizations_url":"https://api.github.com/users/uber-go/orgs","repos_url":"https://api.github.com/users/uber-go/repos","events_url":"https://api.github.com/users/uber-go/events{/privacy}","received_events_url":"https://api.github.com/users/uber-go/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber-go/config","description":"[BETA] High-level config for Go","fork":false,"url":"https://api.github.com/repos/uber-go/config","forks_url":"https://api.github.com/repos/uber-go/config/forks","keys_url":"https://api.github.com/repos/uber-go/config/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber-go/config/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber-go/config/teams","hooks_url":"https://api.github.com/repos/uber-go/config/hooks","issue_events_url":"https://api.github.com/repos/uber-go/config/issues/events{/number}","events_url":"https://api.github.com/repos/uber-go/config/events","assignees_url":"https://api.github.com/repos/uber-go/config/assignees{/user}","branches_url":"https://api.github.com/repos/uber-go/config/branches{/branch}","tags_url":"https://api.github.com/repos/uber-go/config/tags","blobs_url":"https://api.github.com/repos/uber-go/config/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber-go/config/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber-go/config/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber-go/config/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber-go/config/statuses/{sha}","languages_url":"https://api.github.com/repos/uber-go/config/languages","stargazers_url":"https://api.github.com/repos/uber-go/config/stargazers","contributors_url":"https://api.github.com/repos/uber-go/config/contributors","subscribers_url":"https://api.github.com/repos/uber-go/config/subscribers","subscription_url":"https://api.github.com/repos/uber-go/config/subscription","commits_url":"https://api.github.com/repos/uber-go/config/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber-go/config/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber-go/config/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber-go/config/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber-go/config/contents/{+path}","compare_url":"https://api.github.com/repos/uber-go/config/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber-go/config/merges","archive_url":"https://api.github.com/repos/uber-go/config/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber-go/config/downloads","issues_url":"https://api.github.com/repos/uber-go/config/issues{/number}","pulls_url":"https://api.github.com/repos/uber-go/config/pulls{/number}","milestones_url":"https://api.github.com/repos/uber-go/config/milestones{/number}","notifications_url":"https://api.github.com/repos/uber-go/config/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber-go/config/labels{/name}","releases_url":"https://api.github.com/repos/uber-go/config/releases{/id}","deployments_url":"https://api.github.com/repos/uber-go/config/deployments","created_at":"2017-05-23T17:45:52Z","updated_at":"2017-06-13T09:48:14Z","pushed_at":"2017-06-20T05:42:08Z","git_url":"git://github.com/uber-go/config.git","ssh_url":"git@github.com:uber-go/config.git","clone_url":"https://github.com/uber-go/config.git","svn_url":"https://github.com/uber-go/config","homepage":"","size":133,"stargazers_count":14,"watchers_count":14,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber-go/config/pulls/27"},"html":{"href":"https://github.com/uber-go/config/pull/27"},"issue":{"href":"https://api.github.com/repos/uber-go/config/issues/27"},"comments":{"href":"https://api.github.com/repos/uber-go/config/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/uber-go/config/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/uber-go/config/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber-go/config/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/uber-go/config/statuses/ce04aedea6d69a1d72eb1e1bf7b6b01914b07a32"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":55,"deletions":22,"changed_files":3}}
{"actor":{"display_login":"alsamylkin"}}