{"action":"closed","issue":{"url":"https://api.github.com/repos/cyberhck/pushy/issues/5","repository_url":"https://api.github.com/repos/cyberhck/pushy","labels_url":"https://api.github.com/repos/cyberhck/pushy/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/cyberhck/pushy/issues/5/comments","events_url":"https://api.github.com/repos/cyberhck/pushy/issues/5/events","html_url":"https://github.com/cyberhck/pushy/issues/5","id":298487238,"number":5,"title":"use fmt.Sprintf in url","user":{"login":"plutov","id":1124859,"avatar_url":"https://avatars0.githubusercontent.com/u/1124859?v=4","gravatar_id":"","url":"https://api.github.com/users/plutov","html_url":"https://github.com/plutov","followers_url":"https://api.github.com/users/plutov/followers","following_url":"https://api.github.com/users/plutov/following{/other_user}","gists_url":"https://api.github.com/users/plutov/gists{/gist_id}","starred_url":"https://api.github.com/users/plutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plutov/subscriptions","organizations_url":"https://api.github.com/users/plutov/orgs","repos_url":"https://api.github.com/users/plutov/repos","events_url":"https://api.github.com/users/plutov/events{/privacy}","received_events_url":"https://api.github.com/users/plutov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-20T06:42:50Z","updated_at":"2018-02-21T08:57:30Z","closed_at":"2018-02-21T08:57:30Z","author_association":"NONE","body":"https://github.com/cyberhck/pushy/blob/master/pushy.go#L51\r\n\r\nI saw in other places you use `fmt.Sprintf`, can be used in all places to have code consistent.\r\n\r\nAlso, here `p.APIEndpoint` can be moved to Sprintf args and replaced by `%s`.\r\n\r\n```\r\nhttps://github.com/cyberhck/pushy/blob/master/pushy.go#L69\r\n```"}}
{"actor":{"display_login":"cyberhck"}}