{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/facebookgo/flagconfig/pulls/2","id":77867764,"html_url":"https://github.com/facebookgo/flagconfig/pull/2","diff_url":"https://github.com/facebookgo/flagconfig/pull/2.diff","patch_url":"https://github.com/facebookgo/flagconfig/pull/2.patch","issue_url":"https://api.github.com/repos/facebookgo/flagconfig/issues/2","number":2,"state":"open","locked":false,"title":"Modify ParseSet() to take a filename argument","user":{"login":"mark-adams","id":472350,"avatar_url":"https://avatars.githubusercontent.com/u/472350?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-adams","html_url":"https://github.com/mark-adams","followers_url":"https://api.github.com/users/mark-adams/followers","following_url":"https://api.github.com/users/mark-adams/following{/other_user}","gists_url":"https://api.github.com/users/mark-adams/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-adams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-adams/subscriptions","organizations_url":"https://api.github.com/users/mark-adams/orgs","repos_url":"https://api.github.com/users/mark-adams/repos","events_url":"https://api.github.com/users/mark-adams/events{/privacy}","received_events_url":"https://api.github.com/users/mark-adams/received_events","type":"User","site_admin":false},"body":"A case exists where a developer may want to parse a set of flags from a\r\nconfiguration file that is not specified via a flag. Currently,\r\nflagconfig forces the user to use the '-c' flag. This commit modifies\r\nParseSet() to take a filename argument so that an application can\r\nspecify a specific file path programmatically.\r\n\r\n`Parse()` defaults to using the value from `*configFile` as you would expect.","created_at":"2016-07-18T19:50:09Z","updated_at":"2016-07-18T19:50:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebookgo/flagconfig/pulls/2/commits","review_comments_url":"https://api.github.com/repos/facebookgo/flagconfig/pulls/2/comments","review_comment_url":"https://api.github.com/repos/facebookgo/flagconfig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebookgo/flagconfig/issues/2/comments","statuses_url":"https://api.github.com/repos/facebookgo/flagconfig/statuses/bc4cb21108a60e5a48675dd142533081fbd586bf","head":{"label":"mark-adams:madams/specify-file","ref":"madams/specify-file","sha":"bc4cb21108a60e5a48675dd142533081fbd586bf","user":{"login":"mark-adams","id":472350,"avatar_url":"https://avatars.githubusercontent.com/u/472350?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-adams","html_url":"https://github.com/mark-adams","followers_url":"https://api.github.com/users/mark-adams/followers","following_url":"https://api.github.com/users/mark-adams/following{/other_user}","gists_url":"https://api.github.com/users/mark-adams/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-adams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-adams/subscriptions","organizations_url":"https://api.github.com/users/mark-adams/orgs","repos_url":"https://api.github.com/users/mark-adams/repos","events_url":"https://api.github.com/users/mark-adams/events{/privacy}","received_events_url":"https://api.github.com/users/mark-adams/received_events","type":"User","site_admin":false},"repo":{"id":63631681,"name":"flagconfig","full_name":"mark-adams/flagconfig","owner":{"login":"mark-adams","id":472350,"avatar_url":"https://avatars.githubusercontent.com/u/472350?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-adams","html_url":"https://github.com/mark-adams","followers_url":"https://api.github.com/users/mark-adams/followers","following_url":"https://api.github.com/users/mark-adams/following{/other_user}","gists_url":"https://api.github.com/users/mark-adams/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-adams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-adams/subscriptions","organizations_url":"https://api.github.com/users/mark-adams/orgs","repos_url":"https://api.github.com/users/mark-adams/repos","events_url":"https://api.github.com/users/mark-adams/events{/privacy}","received_events_url":"https://api.github.com/users/mark-adams/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mark-adams/flagconfig","description":"Go library to read flags from config file in addition to command line arguments.","fork":true,"url":"https://api.github.com/repos/mark-adams/flagconfig","forks_url":"https://api.github.com/repos/mark-adams/flagconfig/forks","keys_url":"https://api.github.com/repos/mark-adams/flagconfig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mark-adams/flagconfig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mark-adams/flagconfig/teams","hooks_url":"https://api.github.com/repos/mark-adams/flagconfig/hooks","issue_events_url":"https://api.github.com/repos/mark-adams/flagconfig/issues/events{/number}","events_url":"https://api.github.com/repos/mark-adams/flagconfig/events","assignees_url":"https://api.github.com/repos/mark-adams/flagconfig/assignees{/user}","branches_url":"https://api.github.com/repos/mark-adams/flagconfig/branches{/branch}","tags_url":"https://api.github.com/repos/mark-adams/flagconfig/tags","blobs_url":"https://api.github.com/repos/mark-adams/flagconfig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mark-adams/flagconfig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mark-adams/flagconfig/git/refs{/sha}","trees_url":"https://api.github.com/repos/mark-adams/flagconfig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mark-adams/flagconfig/statuses/{sha}","languages_url":"https://api.github.com/repos/mark-adams/flagconfig/languages","stargazers_url":"https://api.github.com/repos/mark-adams/flagconfig/stargazers","contributors_url":"https://api.github.com/repos/mark-adams/flagconfig/contributors","subscribers_url":"https://api.github.com/repos/mark-adams/flagconfig/subscribers","subscription_url":"https://api.github.com/repos/mark-adams/flagconfig/subscription","commits_url":"https://api.github.com/repos/mark-adams/flagconfig/commits{/sha}","git_commits_url":"https://api.github.com/repos/mark-adams/flagconfig/git/commits{/sha}","comments_url":"https://api.github.com/repos/mark-adams/flagconfig/comments{/number}","issue_comment_url":"https://api.github.com/repos/mark-adams/flagconfig/issues/comments{/number}","contents_url":"https://api.github.com/repos/mark-adams/flagconfig/contents/{+path}","compare_url":"https://api.github.com/repos/mark-adams/flagconfig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mark-adams/flagconfig/merges","archive_url":"https://api.github.com/repos/mark-adams/flagconfig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mark-adams/flagconfig/downloads","issues_url":"https://api.github.com/repos/mark-adams/flagconfig/issues{/number}","pulls_url":"https://api.github.com/repos/mark-adams/flagconfig/pulls{/number}","milestones_url":"https://api.github.com/repos/mark-adams/flagconfig/milestones{/number}","notifications_url":"https://api.github.com/repos/mark-adams/flagconfig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mark-adams/flagconfig/labels{/name}","releases_url":"https://api.github.com/repos/mark-adams/flagconfig/releases{/id}","deployments_url":"https://api.github.com/repos/mark-adams/flagconfig/deployments","created_at":"2016-07-18T19:39:58Z","updated_at":"2016-07-18T19:39:59Z","pushed_at":"2016-07-18T19:49:28Z","git_url":"git://github.com/mark-adams/flagconfig.git","ssh_url":"git@github.com:mark-adams/flagconfig.git","clone_url":"https://github.com/mark-adams/flagconfig.git","svn_url":"https://github.com/mark-adams/flagconfig","homepage":"https://godoc.org/github.com/facebookgo/flagconfig","size":6,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebookgo:master","ref":"master","sha":"1177014c86728ecf1fff171795417db39a3e6a02","user":{"login":"facebookgo","id":6497226,"avatar_url":"https://avatars.githubusercontent.com/u/6497226?v=3","gravatar_id":"","url":"https://api.github.com/users/facebookgo","html_url":"https://github.com/facebookgo","followers_url":"https://api.github.com/users/facebookgo/followers","following_url":"https://api.github.com/users/facebookgo/following{/other_user}","gists_url":"https://api.github.com/users/facebookgo/gists{/gist_id}","starred_url":"https://api.github.com/users/facebookgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebookgo/subscriptions","organizations_url":"https://api.github.com/users/facebookgo/orgs","repos_url":"https://api.github.com/users/facebookgo/repos","events_url":"https://api.github.com/users/facebookgo/events{/privacy}","received_events_url":"https://api.github.com/users/facebookgo/received_events","type":"Organization","site_admin":false},"repo":{"id":4303180,"name":"flagconfig","full_name":"facebookgo/flagconfig","owner":{"login":"facebookgo","id":6497226,"avatar_url":"https://avatars.githubusercontent.com/u/6497226?v=3","gravatar_id":"","url":"https://api.github.com/users/facebookgo","html_url":"https://github.com/facebookgo","followers_url":"https://api.github.com/users/facebookgo/followers","following_url":"https://api.github.com/users/facebookgo/following{/other_user}","gists_url":"https://api.github.com/users/facebookgo/gists{/gist_id}","starred_url":"https://api.github.com/users/facebookgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebookgo/subscriptions","organizations_url":"https://api.github.com/users/facebookgo/orgs","repos_url":"https://api.github.com/users/facebookgo/repos","events_url":"https://api.github.com/users/facebookgo/events{/privacy}","received_events_url":"https://api.github.com/users/facebookgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebookgo/flagconfig","description":"Go library to read flags from config file in addition to command line arguments.","fork":false,"url":"https://api.github.com/repos/facebookgo/flagconfig","forks_url":"https://api.github.com/repos/facebookgo/flagconfig/forks","keys_url":"https://api.github.com/repos/facebookgo/flagconfig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebookgo/flagconfig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebookgo/flagconfig/teams","hooks_url":"https://api.github.com/repos/facebookgo/flagconfig/hooks","issue_events_url":"https://api.github.com/repos/facebookgo/flagconfig/issues/events{/number}","events_url":"https://api.github.com/repos/facebookgo/flagconfig/events","assignees_url":"https://api.github.com/repos/facebookgo/flagconfig/assignees{/user}","branches_url":"https://api.github.com/repos/facebookgo/flagconfig/branches{/branch}","tags_url":"https://api.github.com/repos/facebookgo/flagconfig/tags","blobs_url":"https://api.github.com/repos/facebookgo/flagconfig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebookgo/flagconfig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebookgo/flagconfig/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebookgo/flagconfig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebookgo/flagconfig/statuses/{sha}","languages_url":"https://api.github.com/repos/facebookgo/flagconfig/languages","stargazers_url":"https://api.github.com/repos/facebookgo/flagconfig/stargazers","contributors_url":"https://api.github.com/repos/facebookgo/flagconfig/contributors","subscribers_url":"https://api.github.com/repos/facebookgo/flagconfig/subscribers","subscription_url":"https://api.github.com/repos/facebookgo/flagconfig/subscription","commits_url":"https://api.github.com/repos/facebookgo/flagconfig/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebookgo/flagconfig/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebookgo/flagconfig/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebookgo/flagconfig/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebookgo/flagconfig/contents/{+path}","compare_url":"https://api.github.com/repos/facebookgo/flagconfig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebookgo/flagconfig/merges","archive_url":"https://api.github.com/repos/facebookgo/flagconfig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebookgo/flagconfig/downloads","issues_url":"https://api.github.com/repos/facebookgo/flagconfig/issues{/number}","pulls_url":"https://api.github.com/repos/facebookgo/flagconfig/pulls{/number}","milestones_url":"https://api.github.com/repos/facebookgo/flagconfig/milestones{/number}","notifications_url":"https://api.github.com/repos/facebookgo/flagconfig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebookgo/flagconfig/labels{/name}","releases_url":"https://api.github.com/repos/facebookgo/flagconfig/releases{/id}","deployments_url":"https://api.github.com/repos/facebookgo/flagconfig/deployments","created_at":"2012-05-12T00:47:46Z","updated_at":"2016-06-22T06:07:35Z","pushed_at":"2016-03-23T21:30:09Z","git_url":"git://github.com/facebookgo/flagconfig.git","ssh_url":"git@github.com:facebookgo/flagconfig.git","clone_url":"https://github.com/facebookgo/flagconfig.git","svn_url":"https://github.com/facebookgo/flagconfig","homepage":"https://godoc.org/github.com/facebookgo/flagconfig","size":6,"stargazers_count":31,"watchers_count":31,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebookgo/flagconfig/pulls/2"},"html":{"href":"https://github.com/facebookgo/flagconfig/pull/2"},"issue":{"href":"https://api.github.com/repos/facebookgo/flagconfig/issues/2"},"comments":{"href":"https://api.github.com/repos/facebookgo/flagconfig/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/facebookgo/flagconfig/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/facebookgo/flagconfig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebookgo/flagconfig/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/facebookgo/flagconfig/statuses/bc4cb21108a60e5a48675dd142533081fbd586bf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"mark-adams"}}