{"action":"created","issue":{"url":"https://api.github.com/repos/go-critic/go-critic/issues/436","repository_url":"https://api.github.com/repos/go-critic/go-critic","labels_url":"https://api.github.com/repos/go-critic/go-critic/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/go-critic/go-critic/issues/436/comments","events_url":"https://api.github.com/repos/go-critic/go-critic/issues/436/events","html_url":"https://github.com/go-critic/go-critic/issues/436","id":341124200,"node_id":"MDU6SXNzdWUzNDExMjQyMDA=","number":436,"title":"lint: locking a lock under a lock :)","user":{"login":"cristaloleg","id":366002,"node_id":"MDQ6VXNlcjM2NjAwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/366002?v=4","gravatar_id":"","url":"https://api.github.com/users/cristaloleg","html_url":"https://github.com/cristaloleg","followers_url":"https://api.github.com/users/cristaloleg/followers","following_url":"https://api.github.com/users/cristaloleg/following{/other_user}","gists_url":"https://api.github.com/users/cristaloleg/gists{/gist_id}","starred_url":"https://api.github.com/users/cristaloleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristaloleg/subscriptions","organizations_url":"https://api.github.com/users/cristaloleg/orgs","repos_url":"https://api.github.com/users/cristaloleg/repos","events_url":"https://api.github.com/users/cristaloleg/events{/privacy}","received_events_url":"https://api.github.com/users/cristaloleg/received_events","type":"User","site_admin":false},"labels":[{"id":962797273,"node_id":"MDU6TGFiZWw5NjI3OTcyNzM=","url":"https://api.github.com/repos/go-critic/go-critic/labels/checker%20request","name":"checker request","color":"9fff2b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-13T18:53:08Z","updated_at":"2018-07-13T18:59:06Z","closed_at":null,"author_association":"MEMBER","body":"Before:\r\n```go\r\nfunc (a *A) foo() {\r\n    lock.Lock()\r\n    defer lock.Unlock()\r\n    a.bar()\r\n}\r\nfunc (a *A) bar() {       // can be invoked from foo which already holds a lock\r\n    lock.Lock()\r\n    defer lock.Unlock()\r\n    baz()\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/go-critic/go-critic/issues/comments/404923574","html_url":"https://github.com/go-critic/go-critic/issues/436#issuecomment-404923574","issue_url":"https://api.github.com/repos/go-critic/go-critic/issues/436","id":404923574,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDkyMzU3NA==","user":{"login":"Quasilyte","id":6286655,"node_id":"MDQ6VXNlcjYyODY2NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6286655?v=4","gravatar_id":"","url":"https://api.github.com/users/Quasilyte","html_url":"https://github.com/Quasilyte","followers_url":"https://api.github.com/users/Quasilyte/followers","following_url":"https://api.github.com/users/Quasilyte/following{/other_user}","gists_url":"https://api.github.com/users/Quasilyte/gists{/gist_id}","starred_url":"https://api.github.com/users/Quasilyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quasilyte/subscriptions","organizations_url":"https://api.github.com/users/Quasilyte/orgs","repos_url":"https://api.github.com/users/Quasilyte/repos","events_url":"https://api.github.com/users/Quasilyte/events{/privacy}","received_events_url":"https://api.github.com/users/Quasilyte/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T18:59:06Z","updated_at":"2018-07-13T18:59:06Z","author_association":"CONTRIBUTOR","body":"No, but we don't have any facilities for that yet."}}
{"actor":{"display_login":"Quasilyte"}}