{"action":"created","issue":{"url":"https://api.github.com/repos/labstack/gommon/issues/9","repository_url":"https://api.github.com/repos/labstack/gommon","labels_url":"https://api.github.com/repos/labstack/gommon/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/labstack/gommon/issues/9/comments","events_url":"https://api.github.com/repos/labstack/gommon/issues/9/events","html_url":"https://github.com/labstack/gommon/pull/9","id":174288466,"number":9,"title":"Escape strings with quotes","user":{"login":"asib","id":8368500,"avatar_url":"https://avatars.githubusercontent.com/u/8368500?v=3","gravatar_id":"","url":"https://api.github.com/users/asib","html_url":"https://github.com/asib","followers_url":"https://api.github.com/users/asib/followers","following_url":"https://api.github.com/users/asib/following{/other_user}","gists_url":"https://api.github.com/users/asib/gists{/gist_id}","starred_url":"https://api.github.com/users/asib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asib/subscriptions","organizations_url":"https://api.github.com/users/asib/orgs","repos_url":"https://api.github.com/users/asib/repos","events_url":"https://api.github.com/users/asib/events{/privacy}","received_events_url":"https://api.github.com/users/asib/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-31T14:29:05Z","updated_at":"2016-09-01T02:33:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/labstack/gommon/pulls/9","html_url":"https://github.com/labstack/gommon/pull/9","diff_url":"https://github.com/labstack/gommon/pull/9.diff","patch_url":"https://github.com/labstack/gommon/pull/9.patch"},"body":"The current implementation won't work if there are quotes in the string that's being logged.\r\n\r\n`strconv.Quote` solves this issue by wrapping the supplied string in double quotes, escaping any existing quotes in the supplied string."},"comment":{"url":"https://api.github.com/repos/labstack/gommon/issues/comments/243959375","html_url":"https://github.com/labstack/gommon/pull/9#issuecomment-243959375","issue_url":"https://api.github.com/repos/labstack/gommon/issues/9","id":243959375,"user":{"login":"vishr","id":314036,"avatar_url":"https://avatars.githubusercontent.com/u/314036?v=3","gravatar_id":"","url":"https://api.github.com/users/vishr","html_url":"https://github.com/vishr","followers_url":"https://api.github.com/users/vishr/followers","following_url":"https://api.github.com/users/vishr/following{/other_user}","gists_url":"https://api.github.com/users/vishr/gists{/gist_id}","starred_url":"https://api.github.com/users/vishr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishr/subscriptions","organizations_url":"https://api.github.com/users/vishr/orgs","repos_url":"https://api.github.com/users/vishr/repos","events_url":"https://api.github.com/users/vishr/events{/privacy}","received_events_url":"https://api.github.com/users/vishr/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T02:33:06Z","updated_at":"2016-09-01T02:33:06Z","body":"@asib For performance reason, this should be handled outside the library. It adds another iteration to the string. Even standard `log` library doesn't have it."}}
{"actor":{"display_login":"vishr"}}