{"action":"created","issue":{"url":"https://api.github.com/repos/julienschmidt/httprouter/issues/222","repository_url":"https://api.github.com/repos/julienschmidt/httprouter","labels_url":"https://api.github.com/repos/julienschmidt/httprouter/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/julienschmidt/httprouter/issues/222/comments","events_url":"https://api.github.com/repos/julienschmidt/httprouter/issues/222/events","html_url":"https://github.com/julienschmidt/httprouter/issues/222","id":263237394,"node_id":"MDU6SXNzdWUyNjMyMzczOTQ=","number":222,"title":"How to remove / in front of catch-all parameter?","user":{"login":"yosualb","id":3480390,"node_id":"MDQ6VXNlcjM0ODAzOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/3480390?v=4","gravatar_id":"","url":"https://api.github.com/users/yosualb","html_url":"https://github.com/yosualb","followers_url":"https://api.github.com/users/yosualb/followers","following_url":"https://api.github.com/users/yosualb/following{/other_user}","gists_url":"https://api.github.com/users/yosualb/gists{/gist_id}","starred_url":"https://api.github.com/users/yosualb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosualb/subscriptions","organizations_url":"https://api.github.com/users/yosualb/orgs","repos_url":"https://api.github.com/users/yosualb/repos","events_url":"https://api.github.com/users/yosualb/events{/privacy}","received_events_url":"https://api.github.com/users/yosualb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-05T19:22:30Z","updated_at":"2018-05-31T13:30:41Z","closed_at":null,"author_association":"NONE","body":"```\r\nfunc Say(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {\r\n\tfmt.Fprintf(w, \"Say :%v\", ps.ByName(\"everything\"))\r\n}\r\n\r\nrouter := httprouter.New()\r\nrouter.GET(\"/say/*everything\", Say)\r\n```\r\n\r\nrequest: http://localhost/say/What%20Are%20You%20Doing%3F\r\nresponse: Say :/What Are You Doing?"},"comment":{"url":"https://api.github.com/repos/julienschmidt/httprouter/issues/comments/393530518","html_url":"https://github.com/julienschmidt/httprouter/issues/222#issuecomment-393530518","issue_url":"https://api.github.com/repos/julienschmidt/httprouter/issues/222","id":393530518,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzUzMDUxOA==","user":{"login":"tmthrgd","id":245984,"node_id":"MDQ6VXNlcjI0NTk4NA==","avatar_url":"https://avatars0.githubusercontent.com/u/245984?v=4","gravatar_id":"","url":"https://api.github.com/users/tmthrgd","html_url":"https://github.com/tmthrgd","followers_url":"https://api.github.com/users/tmthrgd/followers","following_url":"https://api.github.com/users/tmthrgd/following{/other_user}","gists_url":"https://api.github.com/users/tmthrgd/gists{/gist_id}","starred_url":"https://api.github.com/users/tmthrgd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmthrgd/subscriptions","organizations_url":"https://api.github.com/users/tmthrgd/orgs","repos_url":"https://api.github.com/users/tmthrgd/repos","events_url":"https://api.github.com/users/tmthrgd/events{/privacy}","received_events_url":"https://api.github.com/users/tmthrgd/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T13:30:41Z","updated_at":"2018-05-31T13:30:41Z","author_association":"NONE","body":"What’s wrong with `strings.TrimPrefix(ps.ByName(\"name\"), \"/\")`?"}}
{"actor":{"display_login":"tmthrgd"}}