{"action":"opened","issue":{"url":"https://api.github.com/repos/pressly/chi/issues/122","repository_url":"https://api.github.com/repos/pressly/chi","labels_url":"https://api.github.com/repos/pressly/chi/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/pressly/chi/issues/122/comments","events_url":"https://api.github.com/repos/pressly/chi/issues/122/events","html_url":"https://github.com/pressly/chi/issues/122","id":198099893,"number":122,"title":"public RequestID generator","user":{"login":"smacker","id":406916,"avatar_url":"https://avatars.githubusercontent.com/u/406916?v=3","gravatar_id":"","url":"https://api.github.com/users/smacker","html_url":"https://github.com/smacker","followers_url":"https://api.github.com/users/smacker/followers","following_url":"https://api.github.com/users/smacker/following{/other_user}","gists_url":"https://api.github.com/users/smacker/gists{/gist_id}","starred_url":"https://api.github.com/users/smacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacker/subscriptions","organizations_url":"https://api.github.com/users/smacker/orgs","repos_url":"https://api.github.com/users/smacker/repos","events_url":"https://api.github.com/users/smacker/events{/privacy}","received_events_url":"https://api.github.com/users/smacker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-30T03:26:23Z","updated_at":"2016-12-30T03:26:23Z","closed_at":null,"body":"In my project we can start running code not only through http request, but with cli command or just background processes. I want to be able to trace everything that happened in different part of system by unique id with the same format. For http I use RequestID middleware, but there is no public methods which I can use to generate ID. Copy-past of that functions in project will cause different formats in future.\r\nDo you mind to move request id generator to separate package, or just provide public function to generate new key?"}}
{"actor":{"display_login":"smacker"}}