{"action":"created","issue":{"url":"https://api.github.com/repos/Tencent/mars/issues/51","repository_url":"https://api.github.com/repos/Tencent/mars","labels_url":"https://api.github.com/repos/Tencent/mars/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/Tencent/mars/issues/51/comments","events_url":"https://api.github.com/repos/Tencent/mars/issues/51/events","html_url":"https://github.com/Tencent/mars/issues/51","id":198262722,"number":51,"title":"第一印象，有点糟糕的代码格式","user":{"login":"imagec","id":24283348,"avatar_url":"https://avatars.githubusercontent.com/u/24283348?v=3","gravatar_id":"","url":"https://api.github.com/users/imagec","html_url":"https://github.com/imagec","followers_url":"https://api.github.com/users/imagec/followers","following_url":"https://api.github.com/users/imagec/following{/other_user}","gists_url":"https://api.github.com/users/imagec/gists{/gist_id}","starred_url":"https://api.github.com/users/imagec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imagec/subscriptions","organizations_url":"https://api.github.com/users/imagec/orgs","repos_url":"https://api.github.com/users/imagec/repos","events_url":"https://api.github.com/users/imagec/events{/privacy}","received_events_url":"https://api.github.com/users/imagec/received_events","type":"User","site_admin":false},"labels":[{"id":498994173,"url":"https://api.github.com/repos/Tencent/mars/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-01T10:02:59Z","updated_at":"2017-01-01T12:13:01Z","closed_at":null,"body":"介绍文章中特别强调了代码风格，格式的问题。\r\nclone下来代码随便浏览了comm下的几个文件，格式有点混乱\r\n\r\nif和（）之间有的有空格，有的没有，if （） '{'  有的放在if同行，有的在下一行，\r\nif语句大block之间有的空一行，有的紧挨着。\r\n\r\n简单点，就astyle格式化下吧\r\n"},"comment":{"url":"https://api.github.com/repos/Tencent/mars/issues/comments/269900830","html_url":"https://github.com/Tencent/mars/issues/51#issuecomment-269900830","issue_url":"https://api.github.com/repos/Tencent/mars/issues/51","id":269900830,"user":{"login":"garryyan","id":8778898,"avatar_url":"https://avatars.githubusercontent.com/u/8778898?v=3","gravatar_id":"","url":"https://api.github.com/users/garryyan","html_url":"https://github.com/garryyan","followers_url":"https://api.github.com/users/garryyan/followers","following_url":"https://api.github.com/users/garryyan/following{/other_user}","gists_url":"https://api.github.com/users/garryyan/gists{/gist_id}","starred_url":"https://api.github.com/users/garryyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garryyan/subscriptions","organizations_url":"https://api.github.com/users/garryyan/orgs","repos_url":"https://api.github.com/users/garryyan/repos","events_url":"https://api.github.com/users/garryyan/events{/privacy}","received_events_url":"https://api.github.com/users/garryyan/received_events","type":"User","site_admin":false},"created_at":"2017-01-01T12:13:01Z","updated_at":"2017-01-01T12:13:01Z","body":"先把我们的代码修改了 365a942a58c4dc14346c11d63759eaefec826a3d  后续会引入强制代码风格检查。至于第三方库 我们也会考虑是否以 static lib 的形式引入。 感谢 @imagec 的指正。"}}
{"actor":{"display_login":"garryyan"}}