{"action":"created","issue":{"url":"https://api.github.com/repos/letsencrypt/boulder/issues/1727","repository_url":"https://api.github.com/repos/letsencrypt/boulder","labels_url":"https://api.github.com/repos/letsencrypt/boulder/issues/1727/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/boulder/issues/1727/comments","events_url":"https://api.github.com/repos/letsencrypt/boulder/issues/1727/events","html_url":"https://github.com/letsencrypt/boulder/pull/1727","id":147555486,"number":1727,"title":"Fix go generate command in metrics.","user":{"login":"jsha","id":220205,"avatar_url":"https://avatars.githubusercontent.com/u/220205?v=3","gravatar_id":"","url":"https://api.github.com/users/jsha","html_url":"https://github.com/jsha","followers_url":"https://api.github.com/users/jsha/followers","following_url":"https://api.github.com/users/jsha/following{/other_user}","gists_url":"https://api.github.com/users/jsha/gists{/gist_id}","starred_url":"https://api.github.com/users/jsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsha/subscriptions","organizations_url":"https://api.github.com/users/jsha/orgs","repos_url":"https://api.github.com/users/jsha/repos","events_url":"https://api.github.com/users/jsha/events{/privacy}","received_events_url":"https://api.github.com/users/jsha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-11T21:08:32Z","updated_at":"2016-04-12T04:04:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/letsencrypt/boulder/pulls/1727","html_url":"https://github.com/letsencrypt/boulder/pull/1727","diff_url":"https://github.com/letsencrypt/boulder/pull/1727.diff","patch_url":"https://github.com/letsencrypt/boulder/pull/1727.patch"},"body":"The previous command only worked on OS X. This one works on Linux but not\r\nOS X.\r\n\r\nAlso add generate phase of test.sh."},"comment":{"url":"https://api.github.com/repos/letsencrypt/boulder/issues/comments/208693735","html_url":"https://github.com/letsencrypt/boulder/pull/1727#issuecomment-208693735","issue_url":"https://api.github.com/repos/letsencrypt/boulder/issues/1727","id":208693735,"user":{"login":"letsencryptbot","id":13070648,"avatar_url":"https://avatars.githubusercontent.com/u/13070648?v=3","gravatar_id":"","url":"https://api.github.com/users/letsencryptbot","html_url":"https://github.com/letsencryptbot","followers_url":"https://api.github.com/users/letsencryptbot/followers","following_url":"https://api.github.com/users/letsencryptbot/following{/other_user}","gists_url":"https://api.github.com/users/letsencryptbot/gists{/gist_id}","starred_url":"https://api.github.com/users/letsencryptbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letsencryptbot/subscriptions","organizations_url":"https://api.github.com/users/letsencryptbot/orgs","repos_url":"https://api.github.com/users/letsencryptbot/repos","events_url":"https://api.github.com/users/letsencryptbot/events{/privacy}","received_events_url":"https://api.github.com/users/letsencryptbot/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T04:04:20Z","updated_at":"2016-04-12T04:04:20Z","body":"```\ndiff --git a/metrics/mock_statsd_test.go b/metrics/mock_statsd_test.go\nindex 50fcb95..e69de29 100644\n--- a/metrics/mock_statsd_test.go\n+++ b/metrics/mock_statsd_test.go\n@@ -1,138 +0,0 @@\n-// Automatically generated by MockGen. DO NOT EDIT!\n-// Source: github.com/cactus/go-statsd-client/statsd (interfaces: Statter)\n-\n-package metrics\n-\n-import (\n-\tgomock \"github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/golang/mock/gomock\"\n-\ttime \"time\"\n-)\n-\n-// Mock of Statter interface\n-type MockStatter struct {\n-\tctrl     *gomock.Controller\n-\trecorder *_MockStatterRecorder\n-}\n-\n-// Recorder for MockStatter (not exported)\n-type _MockStatterRecorder struct {\n-\tmock *MockStatter\n-}\n-\n-func NewMockStatter(ctrl *gomock.Controller) *MockStatter {\n-\tmock := &MockStatter{ctrl: ctrl}\n-\tmock.recorder = &_MockStatterRecorder{mock}\n-\treturn mock\n-}\n-\n-func (_m *MockStatter) EXPECT() *_MockStatterRecorder {\n-\treturn _m.recorder\n-}\n-\n-func (_m *MockStatter) Close() error {\n-\tret := _m.ctrl.Call(_m, \"Close\")\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) Close() *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"Close\")\n-}\n-\n-func (_m *MockStatter) Dec(_param0 string, _param1 int64, _param2 float32) error {\n-\tret := _m.ctrl.Call(_m, \"Dec\", _param0, _param1, _param2)\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) Dec(arg0, arg1, arg2 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"Dec\", arg0, arg1, arg2)\n-}\n-\n-func (_m *MockStatter) Gauge(_param0 string, _param1 int64, _param2 float32) error {\n-\tret := _m.ctrl.Call(_m, \"Gauge\", _param0, _param1, _param2)\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) Gauge(arg0, arg1, arg2 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"Gauge\", arg0, arg1, arg2)\n-}\n-\n-func (_m *MockStatter) GaugeDelta(_param0 string, _param1 int64, _param2 float32) error {\n-\tret := _m.ctrl.Call(_m, \"GaugeDelta\", _param0, _param1, _param2)\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) GaugeDelta(arg0, arg1, arg2 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"GaugeDelta\", arg0, arg1, arg2)\n-}\n-\n-func (_m *MockStatter) Inc(_param0 string, _param1 int64, _param2 float32) error {\n-\tret := _m.ctrl.Call(_m, \"Inc\", _param0, _param1, _param2)\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) Inc(arg0, arg1, arg2 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"Inc\", arg0, arg1, arg2)\n-}\n-\n-func (_m *MockStatter) Raw(_param0 string, _param1 string, _param2 float32) error {\n-\tret := _m.ctrl.Call(_m, \"Raw\", _param0, _param1, _param2)\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) Raw(arg0, arg1, arg2 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"Raw\", arg0, arg1, arg2)\n-}\n-\n-func (_m *MockStatter) Set(_param0 string, _param1 string, _param2 float32) error {\n-\tret := _m.ctrl.Call(_m, \"Set\", _param0, _param1, _param2)\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"Set\", arg0, arg1, arg2)\n-}\n-\n-func (_m *MockStatter) SetInt(_param0 string, _param1 int64, _param2 float32) error {\n-\tret := _m.ctrl.Call(_m, \"SetInt\", _param0, _param1, _param2)\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) SetInt(arg0, arg1, arg2 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"SetInt\", arg0, arg1, arg2)\n-}\n-\n-func (_m *MockStatter) SetPrefix(_param0 string) {\n-\t_m.ctrl.Call(_m, \"SetPrefix\", _param0)\n-}\n-\n-func (_mr *_MockStatterRecorder) SetPrefix(arg0 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"SetPrefix\", arg0)\n-}\n-\n-func (_m *MockStatter) Timing(_param0 string, _param1 int64, _param2 float32) error {\n-\tret := _m.ctrl.Call(_m, \"Timing\", _param0, _param1, _param2)\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) Timing(arg0, arg1, arg2 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"Timing\", arg0, arg1, arg2)\n-}\n-\n-func (_m *MockStatter) TimingDuration(_param0 string, _param1 time.Duration, _param2 float32) error {\n-\tret := _m.ctrl.Call(_m, \"TimingDuration\", _param0, _param1, _param2)\n-\tret0, _ := ret[0].(error)\n-\treturn ret0\n-}\n-\n-func (_mr *_MockStatterRecorder) TimingDuration(arg0, arg1, arg2 interface{}) *gomock.Call {\n-\treturn _mr.mock.ctrl.RecordCall(_mr.mock, \"TimingDuration\", arg0, arg1, arg2)\n-}\n\n```\n"}}