{"action":"created","issue":{"url":"https://api.github.com/repos/zenhack/go.notmuch/issues/2","labels_url":"https://api.github.com/repos/zenhack/go.notmuch/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/zenhack/go.notmuch/issues/2/comments","events_url":"https://api.github.com/repos/zenhack/go.notmuch/issues/2/events","html_url":"https://github.com/zenhack/go.notmuch/pull/2","id":107986559,"number":2,"title":"Slightly more idiomatic workflow","user":{"login":"kalbasit","id":87115,"avatar_url":"https://avatars.githubusercontent.com/u/87115?v=3","gravatar_id":"","url":"https://api.github.com/users/kalbasit","html_url":"https://github.com/kalbasit","followers_url":"https://api.github.com/users/kalbasit/followers","following_url":"https://api.github.com/users/kalbasit/following{/other_user}","gists_url":"https://api.github.com/users/kalbasit/gists{/gist_id}","starred_url":"https://api.github.com/users/kalbasit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalbasit/subscriptions","organizations_url":"https://api.github.com/users/kalbasit/orgs","repos_url":"https://api.github.com/users/kalbasit/repos","events_url":"https://api.github.com/users/kalbasit/events{/privacy}","received_events_url":"https://api.github.com/users/kalbasit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-23T19:10:44Z","updated_at":"2015-09-23T22:47:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zenhack/go.notmuch/pulls/2","html_url":"https://github.com/zenhack/go.notmuch/pull/2","diff_url":"https://github.com/zenhack/go.notmuch/pull/2.diff","patch_url":"https://github.com/zenhack/go.notmuch/pull/2.patch"},"body":"- add testing\r\n- add travis support.\r\n- No caps, camelcase variable names\r\n- golint the entire code\r\n- fix the imports in the example\r\n- MoveToNext must return an error if there are no more threads to show.\r\n\r\ncloses #1"},"comment":{"url":"https://api.github.com/repos/zenhack/go.notmuch/issues/comments/142752741","html_url":"https://github.com/zenhack/go.notmuch/pull/2#issuecomment-142752741","issue_url":"https://api.github.com/repos/zenhack/go.notmuch/issues/2","id":142752741,"user":{"login":"kalbasit","id":87115,"avatar_url":"https://avatars.githubusercontent.com/u/87115?v=3","gravatar_id":"","url":"https://api.github.com/users/kalbasit","html_url":"https://github.com/kalbasit","followers_url":"https://api.github.com/users/kalbasit/followers","following_url":"https://api.github.com/users/kalbasit/following{/other_user}","gists_url":"https://api.github.com/users/kalbasit/gists{/gist_id}","starred_url":"https://api.github.com/users/kalbasit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalbasit/subscriptions","organizations_url":"https://api.github.com/users/kalbasit/orgs","repos_url":"https://api.github.com/users/kalbasit/repos","events_url":"https://api.github.com/users/kalbasit/events{/privacy}","received_events_url":"https://api.github.com/users/kalbasit/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T22:47:47Z","updated_at":"2015-09-23T22:47:47Z","body":"@zenhack PTAL. I feel the For loop could be cleaner. Perhaps we should go with something like [`mgo.Query.Next`](http://godoc.org/gopkg.in/mgo.v2#Iter.Next) and [`mgo.Query.For`](http://godoc.org/gopkg.in/mgo.v2#Query.For)"}}