{"action":"created","issue":{"url":"https://api.github.com/repos/dimfeld/httptreemux/issues/40","repository_url":"https://api.github.com/repos/dimfeld/httptreemux","labels_url":"https://api.github.com/repos/dimfeld/httptreemux/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/dimfeld/httptreemux/issues/40/comments","events_url":"https://api.github.com/repos/dimfeld/httptreemux/issues/40/events","html_url":"https://github.com/dimfeld/httptreemux/pull/40","id":196428391,"number":40,"title":"Add mutex to protect node from concurrent access","user":{"login":"bastiankoetsier","id":6351038,"avatar_url":"https://avatars.githubusercontent.com/u/6351038?v=3","gravatar_id":"","url":"https://api.github.com/users/bastiankoetsier","html_url":"https://github.com/bastiankoetsier","followers_url":"https://api.github.com/users/bastiankoetsier/followers","following_url":"https://api.github.com/users/bastiankoetsier/following{/other_user}","gists_url":"https://api.github.com/users/bastiankoetsier/gists{/gist_id}","starred_url":"https://api.github.com/users/bastiankoetsier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastiankoetsier/subscriptions","organizations_url":"https://api.github.com/users/bastiankoetsier/orgs","repos_url":"https://api.github.com/users/bastiankoetsier/repos","events_url":"https://api.github.com/users/bastiankoetsier/events{/privacy}","received_events_url":"https://api.github.com/users/bastiankoetsier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-19T14:36:35Z","updated_at":"2016-12-20T18:24:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimfeld/httptreemux/pulls/40","html_url":"https://github.com/dimfeld/httptreemux/pull/40","diff_url":"https://github.com/dimfeld/httptreemux/pull/40.diff","patch_url":"https://github.com/dimfeld/httptreemux/pull/40.patch"},"body":"When trying to add routes during runtime with go-routines, you get data races for the `staticChild`. This can be prevented with the mutex introduced in this PR. "},"comment":{"url":"https://api.github.com/repos/dimfeld/httptreemux/issues/comments/268318393","html_url":"https://github.com/dimfeld/httptreemux/pull/40#issuecomment-268318393","issue_url":"https://api.github.com/repos/dimfeld/httptreemux/issues/40","id":268318393,"user":{"login":"dimfeld","id":1369558,"avatar_url":"https://avatars.githubusercontent.com/u/1369558?v=3","gravatar_id":"","url":"https://api.github.com/users/dimfeld","html_url":"https://github.com/dimfeld","followers_url":"https://api.github.com/users/dimfeld/followers","following_url":"https://api.github.com/users/dimfeld/following{/other_user}","gists_url":"https://api.github.com/users/dimfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/dimfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimfeld/subscriptions","organizations_url":"https://api.github.com/users/dimfeld/orgs","repos_url":"https://api.github.com/users/dimfeld/repos","events_url":"https://api.github.com/users/dimfeld/events{/privacy}","received_events_url":"https://api.github.com/users/dimfeld/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T18:24:24Z","updated_at":"2016-12-20T18:24:24Z","body":"Looks good. Thanks for these 2 PRs!"}}
{"actor":{"display_login":"dimfeld"}}