{"action":"created","issue":{"url":"https://api.github.com/repos/tmaesaka/cellar/issues/25","repository_url":"https://api.github.com/repos/tmaesaka/cellar","labels_url":"https://api.github.com/repos/tmaesaka/cellar/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/tmaesaka/cellar/issues/25/comments","events_url":"https://api.github.com/repos/tmaesaka/cellar/issues/25/events","html_url":"https://github.com/tmaesaka/cellar/issues/25","id":197753360,"number":25,"title":"Manage api config type in a standalone package","user":{"login":"tmaesaka","id":8677,"avatar_url":"https://avatars.githubusercontent.com/u/8677?v=3","gravatar_id":"","url":"https://api.github.com/users/tmaesaka","html_url":"https://github.com/tmaesaka","followers_url":"https://api.github.com/users/tmaesaka/followers","following_url":"https://api.github.com/users/tmaesaka/following{/other_user}","gists_url":"https://api.github.com/users/tmaesaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tmaesaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmaesaka/subscriptions","organizations_url":"https://api.github.com/users/tmaesaka/orgs","repos_url":"https://api.github.com/users/tmaesaka/repos","events_url":"https://api.github.com/users/tmaesaka/events{/privacy}","received_events_url":"https://api.github.com/users/tmaesaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tmaesaka","id":8677,"avatar_url":"https://avatars.githubusercontent.com/u/8677?v=3","gravatar_id":"","url":"https://api.github.com/users/tmaesaka","html_url":"https://github.com/tmaesaka","followers_url":"https://api.github.com/users/tmaesaka/followers","following_url":"https://api.github.com/users/tmaesaka/following{/other_user}","gists_url":"https://api.github.com/users/tmaesaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tmaesaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmaesaka/subscriptions","organizations_url":"https://api.github.com/users/tmaesaka/orgs","repos_url":"https://api.github.com/users/tmaesaka/repos","events_url":"https://api.github.com/users/tmaesaka/events{/privacy}","received_events_url":"https://api.github.com/users/tmaesaka/received_events","type":"User","site_admin":false},"assignees":[{"login":"tmaesaka","id":8677,"avatar_url":"https://avatars.githubusercontent.com/u/8677?v=3","gravatar_id":"","url":"https://api.github.com/users/tmaesaka","html_url":"https://github.com/tmaesaka","followers_url":"https://api.github.com/users/tmaesaka/followers","following_url":"https://api.github.com/users/tmaesaka/following{/other_user}","gists_url":"https://api.github.com/users/tmaesaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tmaesaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmaesaka/subscriptions","organizations_url":"https://api.github.com/users/tmaesaka/orgs","repos_url":"https://api.github.com/users/tmaesaka/repos","events_url":"https://api.github.com/users/tmaesaka/events{/privacy}","received_events_url":"https://api.github.com/users/tmaesaka/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-27T20:25:30Z","updated_at":"2016-12-30T04:30:37Z","closed_at":null,"body":"We need this in order to avoid a cyclic import between `handlers` and `api` packages.\r\n\r\n`config.Config` sounds a bit repetitive but then there's https://golang.org/pkg/context/#Context"},"comment":{"url":"https://api.github.com/repos/tmaesaka/cellar/issues/comments/269731277","html_url":"https://github.com/tmaesaka/cellar/issues/25#issuecomment-269731277","issue_url":"https://api.github.com/repos/tmaesaka/cellar/issues/25","id":269731277,"user":{"login":"tmaesaka","id":8677,"avatar_url":"https://avatars.githubusercontent.com/u/8677?v=3","gravatar_id":"","url":"https://api.github.com/users/tmaesaka","html_url":"https://github.com/tmaesaka","followers_url":"https://api.github.com/users/tmaesaka/followers","following_url":"https://api.github.com/users/tmaesaka/following{/other_user}","gists_url":"https://api.github.com/users/tmaesaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tmaesaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmaesaka/subscriptions","organizations_url":"https://api.github.com/users/tmaesaka/orgs","repos_url":"https://api.github.com/users/tmaesaka/repos","events_url":"https://api.github.com/users/tmaesaka/events{/privacy}","received_events_url":"https://api.github.com/users/tmaesaka/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T04:30:37Z","updated_at":"2016-12-30T04:30:37Z","body":"Changed my mind. Going with `config.ApiConfig` instead of `config.Config`."}}
{"actor":{"display_login":"tmaesaka"}}