{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/riemann/riemann-go-client/pulls/12","id":117337841,"html_url":"https://github.com/riemann/riemann-go-client/pull/12","diff_url":"https://github.com/riemann/riemann-go-client/pull/12.diff","patch_url":"https://github.com/riemann/riemann-go-client/pull/12.patch","issue_url":"https://api.github.com/repos/riemann/riemann-go-client/issues/12","number":12,"state":"closed","locked":false,"title":"[Breaking change] Refactoring event Time","user":{"login":"mcorbin","id":4451204,"avatar_url":"https://avatars0.githubusercontent.com/u/4451204?v=3","gravatar_id":"","url":"https://api.github.com/users/mcorbin","html_url":"https://github.com/mcorbin","followers_url":"https://api.github.com/users/mcorbin/followers","following_url":"https://api.github.com/users/mcorbin/following{/other_user}","gists_url":"https://api.github.com/users/mcorbin/gists{/gist_id}","starred_url":"https://api.github.com/users/mcorbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcorbin/subscriptions","organizations_url":"https://api.github.com/users/mcorbin/orgs","repos_url":"https://api.github.com/users/mcorbin/repos","events_url":"https://api.github.com/users/mcorbin/events{/privacy}","received_events_url":"https://api.github.com/users/mcorbin/received_events","type":"User","site_admin":false},"body":"- Event.Time is no longer an integer but a time.Time. I should have done it before but I did not know Go well at the time.\r\nIt's a breaking change, code using the client from master (without vendoring) will break (it's not the case for Heapster). It's the cleanest solution to support both second and microsecond time resolution in the client.\r\n- Adds microsecond resolution support to the client.\r\n- Use gofmt on each file\r\n- Bump Riemann version in tests\r\n\r\nMaybe we should make a tag before and after this PR ?","created_at":"2017-04-24T19:20:44Z","updated_at":"2017-04-24T20:30:29Z","closed_at":"2017-04-24T20:30:29Z","merged_at":"2017-04-24T20:30:29Z","merge_commit_sha":"121dccf83f3e60c970ea8a718e0529354a7692c4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/riemann/riemann-go-client/pulls/12/commits","review_comments_url":"https://api.github.com/repos/riemann/riemann-go-client/pulls/12/comments","review_comment_url":"https://api.github.com/repos/riemann/riemann-go-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/riemann/riemann-go-client/issues/12/comments","statuses_url":"https://api.github.com/repos/riemann/riemann-go-client/statuses/c9cf1eda784beaf260b497107a171fb25adf9d9c","head":{"label":"riemann:feat/time-refactoring","ref":"feat/time-refactoring","sha":"c9cf1eda784beaf260b497107a171fb25adf9d9c","user":{"login":"riemann","id":5421939,"avatar_url":"https://avatars0.githubusercontent.com/u/5421939?v=3","gravatar_id":"","url":"https://api.github.com/users/riemann","html_url":"https://github.com/riemann","followers_url":"https://api.github.com/users/riemann/followers","following_url":"https://api.github.com/users/riemann/following{/other_user}","gists_url":"https://api.github.com/users/riemann/gists{/gist_id}","starred_url":"https://api.github.com/users/riemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riemann/subscriptions","organizations_url":"https://api.github.com/users/riemann/orgs","repos_url":"https://api.github.com/users/riemann/repos","events_url":"https://api.github.com/users/riemann/events{/privacy}","received_events_url":"https://api.github.com/users/riemann/received_events","type":"Organization","site_admin":false},"repo":{"id":79910562,"name":"riemann-go-client","full_name":"riemann/riemann-go-client","owner":{"login":"riemann","id":5421939,"avatar_url":"https://avatars0.githubusercontent.com/u/5421939?v=3","gravatar_id":"","url":"https://api.github.com/users/riemann","html_url":"https://github.com/riemann","followers_url":"https://api.github.com/users/riemann/followers","following_url":"https://api.github.com/users/riemann/following{/other_user}","gists_url":"https://api.github.com/users/riemann/gists{/gist_id}","starred_url":"https://api.github.com/users/riemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riemann/subscriptions","organizations_url":"https://api.github.com/users/riemann/orgs","repos_url":"https://api.github.com/users/riemann/repos","events_url":"https://api.github.com/users/riemann/events{/privacy}","received_events_url":"https://api.github.com/users/riemann/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/riemann/riemann-go-client","description":"Riemann Go client","fork":false,"url":"https://api.github.com/repos/riemann/riemann-go-client","forks_url":"https://api.github.com/repos/riemann/riemann-go-client/forks","keys_url":"https://api.github.com/repos/riemann/riemann-go-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riemann/riemann-go-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riemann/riemann-go-client/teams","hooks_url":"https://api.github.com/repos/riemann/riemann-go-client/hooks","issue_events_url":"https://api.github.com/repos/riemann/riemann-go-client/issues/events{/number}","events_url":"https://api.github.com/repos/riemann/riemann-go-client/events","assignees_url":"https://api.github.com/repos/riemann/riemann-go-client/assignees{/user}","branches_url":"https://api.github.com/repos/riemann/riemann-go-client/branches{/branch}","tags_url":"https://api.github.com/repos/riemann/riemann-go-client/tags","blobs_url":"https://api.github.com/repos/riemann/riemann-go-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riemann/riemann-go-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riemann/riemann-go-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/riemann/riemann-go-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riemann/riemann-go-client/statuses/{sha}","languages_url":"https://api.github.com/repos/riemann/riemann-go-client/languages","stargazers_url":"https://api.github.com/repos/riemann/riemann-go-client/stargazers","contributors_url":"https://api.github.com/repos/riemann/riemann-go-client/contributors","subscribers_url":"https://api.github.com/repos/riemann/riemann-go-client/subscribers","subscription_url":"https://api.github.com/repos/riemann/riemann-go-client/subscription","commits_url":"https://api.github.com/repos/riemann/riemann-go-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/riemann/riemann-go-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/riemann/riemann-go-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/riemann/riemann-go-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/riemann/riemann-go-client/contents/{+path}","compare_url":"https://api.github.com/repos/riemann/riemann-go-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riemann/riemann-go-client/merges","archive_url":"https://api.github.com/repos/riemann/riemann-go-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riemann/riemann-go-client/downloads","issues_url":"https://api.github.com/repos/riemann/riemann-go-client/issues{/number}","pulls_url":"https://api.github.com/repos/riemann/riemann-go-client/pulls{/number}","milestones_url":"https://api.github.com/repos/riemann/riemann-go-client/milestones{/number}","notifications_url":"https://api.github.com/repos/riemann/riemann-go-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riemann/riemann-go-client/labels{/name}","releases_url":"https://api.github.com/repos/riemann/riemann-go-client/releases{/id}","deployments_url":"https://api.github.com/repos/riemann/riemann-go-client/deployments","created_at":"2017-01-24T12:42:25Z","updated_at":"2017-04-06T12:49:41Z","pushed_at":"2017-04-24T20:30:29Z","git_url":"git://github.com/riemann/riemann-go-client.git","ssh_url":"git@github.com:riemann/riemann-go-client.git","clone_url":"https://github.com/riemann/riemann-go-client.git","svn_url":"https://github.com/riemann/riemann-go-client","homepage":null,"size":26,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":4,"default_branch":"master"}},"base":{"label":"riemann:master","ref":"master","sha":"0f94ab135508410abf50704b72197d664eb2bee3","user":{"login":"riemann","id":5421939,"avatar_url":"https://avatars0.githubusercontent.com/u/5421939?v=3","gravatar_id":"","url":"https://api.github.com/users/riemann","html_url":"https://github.com/riemann","followers_url":"https://api.github.com/users/riemann/followers","following_url":"https://api.github.com/users/riemann/following{/other_user}","gists_url":"https://api.github.com/users/riemann/gists{/gist_id}","starred_url":"https://api.github.com/users/riemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riemann/subscriptions","organizations_url":"https://api.github.com/users/riemann/orgs","repos_url":"https://api.github.com/users/riemann/repos","events_url":"https://api.github.com/users/riemann/events{/privacy}","received_events_url":"https://api.github.com/users/riemann/received_events","type":"Organization","site_admin":false},"repo":{"id":79910562,"name":"riemann-go-client","full_name":"riemann/riemann-go-client","owner":{"login":"riemann","id":5421939,"avatar_url":"https://avatars0.githubusercontent.com/u/5421939?v=3","gravatar_id":"","url":"https://api.github.com/users/riemann","html_url":"https://github.com/riemann","followers_url":"https://api.github.com/users/riemann/followers","following_url":"https://api.github.com/users/riemann/following{/other_user}","gists_url":"https://api.github.com/users/riemann/gists{/gist_id}","starred_url":"https://api.github.com/users/riemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riemann/subscriptions","organizations_url":"https://api.github.com/users/riemann/orgs","repos_url":"https://api.github.com/users/riemann/repos","events_url":"https://api.github.com/users/riemann/events{/privacy}","received_events_url":"https://api.github.com/users/riemann/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/riemann/riemann-go-client","description":"Riemann Go client","fork":false,"url":"https://api.github.com/repos/riemann/riemann-go-client","forks_url":"https://api.github.com/repos/riemann/riemann-go-client/forks","keys_url":"https://api.github.com/repos/riemann/riemann-go-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riemann/riemann-go-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riemann/riemann-go-client/teams","hooks_url":"https://api.github.com/repos/riemann/riemann-go-client/hooks","issue_events_url":"https://api.github.com/repos/riemann/riemann-go-client/issues/events{/number}","events_url":"https://api.github.com/repos/riemann/riemann-go-client/events","assignees_url":"https://api.github.com/repos/riemann/riemann-go-client/assignees{/user}","branches_url":"https://api.github.com/repos/riemann/riemann-go-client/branches{/branch}","tags_url":"https://api.github.com/repos/riemann/riemann-go-client/tags","blobs_url":"https://api.github.com/repos/riemann/riemann-go-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riemann/riemann-go-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riemann/riemann-go-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/riemann/riemann-go-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riemann/riemann-go-client/statuses/{sha}","languages_url":"https://api.github.com/repos/riemann/riemann-go-client/languages","stargazers_url":"https://api.github.com/repos/riemann/riemann-go-client/stargazers","contributors_url":"https://api.github.com/repos/riemann/riemann-go-client/contributors","subscribers_url":"https://api.github.com/repos/riemann/riemann-go-client/subscribers","subscription_url":"https://api.github.com/repos/riemann/riemann-go-client/subscription","commits_url":"https://api.github.com/repos/riemann/riemann-go-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/riemann/riemann-go-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/riemann/riemann-go-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/riemann/riemann-go-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/riemann/riemann-go-client/contents/{+path}","compare_url":"https://api.github.com/repos/riemann/riemann-go-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riemann/riemann-go-client/merges","archive_url":"https://api.github.com/repos/riemann/riemann-go-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riemann/riemann-go-client/downloads","issues_url":"https://api.github.com/repos/riemann/riemann-go-client/issues{/number}","pulls_url":"https://api.github.com/repos/riemann/riemann-go-client/pulls{/number}","milestones_url":"https://api.github.com/repos/riemann/riemann-go-client/milestones{/number}","notifications_url":"https://api.github.com/repos/riemann/riemann-go-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riemann/riemann-go-client/labels{/name}","releases_url":"https://api.github.com/repos/riemann/riemann-go-client/releases{/id}","deployments_url":"https://api.github.com/repos/riemann/riemann-go-client/deployments","created_at":"2017-01-24T12:42:25Z","updated_at":"2017-04-06T12:49:41Z","pushed_at":"2017-04-24T20:30:29Z","git_url":"git://github.com/riemann/riemann-go-client.git","ssh_url":"git@github.com:riemann/riemann-go-client.git","clone_url":"https://github.com/riemann/riemann-go-client.git","svn_url":"https://github.com/riemann/riemann-go-client","homepage":null,"size":26,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/riemann/riemann-go-client/pulls/12"},"html":{"href":"https://github.com/riemann/riemann-go-client/pull/12"},"issue":{"href":"https://api.github.com/repos/riemann/riemann-go-client/issues/12"},"comments":{"href":"https://api.github.com/repos/riemann/riemann-go-client/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/riemann/riemann-go-client/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/riemann/riemann-go-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/riemann/riemann-go-client/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/riemann/riemann-go-client/statuses/c9cf1eda784beaf260b497107a171fb25adf9d9c"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mcorbin","id":4451204,"avatar_url":"https://avatars0.githubusercontent.com/u/4451204?v=3","gravatar_id":"","url":"https://api.github.com/users/mcorbin","html_url":"https://github.com/mcorbin","followers_url":"https://api.github.com/users/mcorbin/followers","following_url":"https://api.github.com/users/mcorbin/following{/other_user}","gists_url":"https://api.github.com/users/mcorbin/gists{/gist_id}","starred_url":"https://api.github.com/users/mcorbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcorbin/subscriptions","organizations_url":"https://api.github.com/users/mcorbin/orgs","repos_url":"https://api.github.com/users/mcorbin/repos","events_url":"https://api.github.com/users/mcorbin/events{/privacy}","received_events_url":"https://api.github.com/users/mcorbin/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":177,"deletions":79,"changed_files":10}}
{"actor":{"display_login":"mcorbin"}}