{"action":"opened","issue":{"url":"https://api.github.com/repos/LeonineKing1199/cppinit/issues/2","repository_url":"https://api.github.com/repos/LeonineKing1199/cppinit","labels_url":"https://api.github.com/repos/LeonineKing1199/cppinit/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/LeonineKing1199/cppinit/issues/2/comments","events_url":"https://api.github.com/repos/LeonineKing1199/cppinit/issues/2/events","html_url":"https://github.com/LeonineKing1199/cppinit/issues/2","id":314848046,"number":2,"title":"Return function values directly instead of wrapping when types/order are same","user":{"login":"theckman","id":787332,"avatar_url":"https://avatars0.githubusercontent.com/u/787332?v=4","gravatar_id":"","url":"https://api.github.com/users/theckman","html_url":"https://github.com/theckman","followers_url":"https://api.github.com/users/theckman/followers","following_url":"https://api.github.com/users/theckman/following{/other_user}","gists_url":"https://api.github.com/users/theckman/gists{/gist_id}","starred_url":"https://api.github.com/users/theckman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theckman/subscriptions","organizations_url":"https://api.github.com/users/theckman/orgs","repos_url":"https://api.github.com/users/theckman/repos","events_url":"https://api.github.com/users/theckman/events{/privacy}","received_events_url":"https://api.github.com/users/theckman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-16T23:04:04Z","updated_at":"2018-04-16T23:04:04Z","closed_at":null,"author_association":"NONE","body":"If your function returns an `(*os.File, error)` and the last function you call also returns an `(*os.File, error)` you should just `return fn()` instead:\r\n\r\n* https://github.com/LeonineKing1199/cppinit/blob/63c2817491f141b91578c726fa33b2c05e17398a/create_file_with_path.go#L18-L23"}}
{"actor":{"display_login":"theckman"}}