{"action":"created","issue":{"url":"https://api.github.com/repos/oliver006/redis_exporter/issues/156","repository_url":"https://api.github.com/repos/oliver006/redis_exporter","labels_url":"https://api.github.com/repos/oliver006/redis_exporter/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/oliver006/redis_exporter/issues/156/comments","events_url":"https://api.github.com/repos/oliver006/redis_exporter/issues/156/events","html_url":"https://github.com/oliver006/redis_exporter/issues/156","id":321110942,"number":156,"title":"go build problem","user":{"login":"crystonesc","id":9100114,"avatar_url":"https://avatars1.githubusercontent.com/u/9100114?v=4","gravatar_id":"","url":"https://api.github.com/users/crystonesc","html_url":"https://github.com/crystonesc","followers_url":"https://api.github.com/users/crystonesc/followers","following_url":"https://api.github.com/users/crystonesc/following{/other_user}","gists_url":"https://api.github.com/users/crystonesc/gists{/gist_id}","starred_url":"https://api.github.com/users/crystonesc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crystonesc/subscriptions","organizations_url":"https://api.github.com/users/crystonesc/orgs","repos_url":"https://api.github.com/users/crystonesc/repos","events_url":"https://api.github.com/users/crystonesc/events{/privacy}","received_events_url":"https://api.github.com/users/crystonesc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-08T09:31:44Z","updated_at":"2018-05-10T13:05:55Z","closed_at":null,"author_association":"NONE","body":"when i run go build it report as follow:\r\n```\r\ngo build\r\n# _/home/xkx/redis_exporter\r\n./main.go:103: cannot use exp (type *exporter.Exporter) as type \"github.com/prometheus/client_golang/prometheus\".Collector in argument to registry.Register:\r\n        *exporter.Exporter does not implement \"github.com/prometheus/client_golang/prometheus\".Collector (wrong type for Collect method)\r\n                have Collect(chan<- \"github.com/oliver006/redis_exporter/vendor/github.com/prometheus/client_golang/prometheus\".Metric)\r\n                want Collect(chan<- \"github.com/prometheus/client_golang/prometheus\".Metric)\r\n./main.go:108: cannot use exp (type *exporter.Exporter) as type \"github.com/prometheus/client_golang/prometheus\".Collector in argument to \"github.com/prometheus/client_golang/prometheus\".MustRegister:\r\n        *exporter.Exporter does not implement \"github.com/prometheus/client_golang/prometheus\".Collector (wrong type for Collect method)\r\n                have Collect(chan<- \"github.com/oliver006/redis_exporter/vendor/github.com/prometheus/client_golang/prometheus\".Metric)\r\n                want Collect(chan<- \"github.com/prometheus/client_golang/prometheus\".Metric)\r\n```"},"comment":{"url":"https://api.github.com/repos/oliver006/redis_exporter/issues/comments/388047529","html_url":"https://github.com/oliver006/redis_exporter/issues/156#issuecomment-388047529","issue_url":"https://api.github.com/repos/oliver006/redis_exporter/issues/156","id":388047529,"user":{"login":"crystonesc","id":9100114,"avatar_url":"https://avatars1.githubusercontent.com/u/9100114?v=4","gravatar_id":"","url":"https://api.github.com/users/crystonesc","html_url":"https://github.com/crystonesc","followers_url":"https://api.github.com/users/crystonesc/followers","following_url":"https://api.github.com/users/crystonesc/following{/other_user}","gists_url":"https://api.github.com/users/crystonesc/gists{/gist_id}","starred_url":"https://api.github.com/users/crystonesc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crystonesc/subscriptions","organizations_url":"https://api.github.com/users/crystonesc/orgs","repos_url":"https://api.github.com/users/crystonesc/repos","events_url":"https://api.github.com/users/crystonesc/events{/privacy}","received_events_url":"https://api.github.com/users/crystonesc/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T13:05:55Z","updated_at":"2018-05-10T13:05:55Z","author_association":"NONE","body":"i just try it and finally it builds fine,thank you very much!!"}}
{"actor":{"display_login":"crystonesc"}}