{"action":"created","issue":{"url":"https://api.github.com/repos/nsf/termbox-go/issues/79","labels_url":"https://api.github.com/repos/nsf/termbox-go/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/nsf/termbox-go/issues/79/comments","events_url":"https://api.github.com/repos/nsf/termbox-go/issues/79/events","html_url":"https://github.com/nsf/termbox-go/issues/79","id":70026260,"number":79,"title":"termbox unit test","user":{"login":"ericwq","id":1501146,"avatar_url":"https://avatars.githubusercontent.com/u/1501146?v=3","gravatar_id":"","url":"https://api.github.com/users/ericwq","html_url":"https://github.com/ericwq","followers_url":"https://api.github.com/users/ericwq/followers","following_url":"https://api.github.com/users/ericwq/following{/other_user}","gists_url":"https://api.github.com/users/ericwq/gists{/gist_id}","starred_url":"https://api.github.com/users/ericwq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericwq/subscriptions","organizations_url":"https://api.github.com/users/ericwq/orgs","repos_url":"https://api.github.com/users/ericwq/repos","events_url":"https://api.github.com/users/ericwq/events{/privacy}","received_events_url":"https://api.github.com/users/ericwq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-22T05:10:07Z","updated_at":"2015-04-30T03:41:49Z","closed_at":null,"body":"i try to write some test for my termbox based application. is that possible to abstract an interface for api.go? with that interface, it's easy to write mock implementation to test the result."},"comment":{"url":"https://api.github.com/repos/nsf/termbox-go/issues/comments/97652327","html_url":"https://github.com/nsf/termbox-go/issues/79#issuecomment-97652327","issue_url":"https://api.github.com/repos/nsf/termbox-go/issues/79","id":97652327,"user":{"login":"kalafut","id":211880,"avatar_url":"https://avatars.githubusercontent.com/u/211880?v=3","gravatar_id":"","url":"https://api.github.com/users/kalafut","html_url":"https://github.com/kalafut","followers_url":"https://api.github.com/users/kalafut/followers","following_url":"https://api.github.com/users/kalafut/following{/other_user}","gists_url":"https://api.github.com/users/kalafut/gists{/gist_id}","starred_url":"https://api.github.com/users/kalafut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalafut/subscriptions","organizations_url":"https://api.github.com/users/kalafut/orgs","repos_url":"https://api.github.com/users/kalafut/repos","events_url":"https://api.github.com/users/kalafut/events{/privacy}","received_events_url":"https://api.github.com/users/kalafut/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T03:41:49Z","updated_at":"2015-04-30T03:41:49Z","body":"@ericwq Post your mock interface somewhere. I'd use it."}}