{"action":"closed","number":1752,"pull_request":{"url":"https://api.github.com/repos/astaxie/beego/pulls/1752","id":61674183,"html_url":"https://github.com/astaxie/beego/pull/1752","diff_url":"https://github.com/astaxie/beego/pull/1752.diff","patch_url":"https://github.com/astaxie/beego/pull/1752.patch","issue_url":"https://api.github.com/repos/astaxie/beego/issues/1752","number":1752,"state":"closed","locked":false,"title":"fix template  read-write lock race","user":{"login":"JessonChan","id":707691,"avatar_url":"https://avatars.githubusercontent.com/u/707691?v=3","gravatar_id":"","url":"https://api.github.com/users/JessonChan","html_url":"https://github.com/JessonChan","followers_url":"https://api.github.com/users/JessonChan/followers","following_url":"https://api.github.com/users/JessonChan/following{/other_user}","gists_url":"https://api.github.com/users/JessonChan/gists{/gist_id}","starred_url":"https://api.github.com/users/JessonChan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JessonChan/subscriptions","organizations_url":"https://api.github.com/users/JessonChan/orgs","repos_url":"https://api.github.com/users/JessonChan/repos","events_url":"https://api.github.com/users/JessonChan/events{/privacy}","received_events_url":"https://api.github.com/users/JessonChan/received_events","type":"User","site_admin":false},"body":"#1748 \r\nthis is crash is caused by the beeTemplates read-write race in \"DEV\" mode.\r\n\r\n1.I rename the BeeTemplates to beeTemplates,because this var should be unexpected.so is BeeTemplateExt\r\n2.I extract some code to function \"renderTemplate\" and \"executeTemplate\" ","created_at":"2016-03-04T06:55:36Z","updated_at":"2016-03-05T12:40:14Z","closed_at":"2016-03-05T12:40:14Z","merged_at":"2016-03-05T12:40:14Z","merge_commit_sha":"0c7670ed0bc5bf7362c5f51d9ffbcd5b9d983698","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/astaxie/beego/pulls/1752/commits","review_comments_url":"https://api.github.com/repos/astaxie/beego/pulls/1752/comments","review_comment_url":"https://api.github.com/repos/astaxie/beego/pulls/comments{/number}","comments_url":"https://api.github.com/repos/astaxie/beego/issues/1752/comments","statuses_url":"https://api.github.com/repos/astaxie/beego/statuses/f5adec31c65f562f8d79871d724bf7a9163173dc","head":{"label":"JessonChan:ab_lock_race","ref":"ab_lock_race","sha":"f5adec31c65f562f8d79871d724bf7a9163173dc","user":{"login":"JessonChan","id":707691,"avatar_url":"https://avatars.githubusercontent.com/u/707691?v=3","gravatar_id":"","url":"https://api.github.com/users/JessonChan","html_url":"https://github.com/JessonChan","followers_url":"https://api.github.com/users/JessonChan/followers","following_url":"https://api.github.com/users/JessonChan/following{/other_user}","gists_url":"https://api.github.com/users/JessonChan/gists{/gist_id}","starred_url":"https://api.github.com/users/JessonChan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JessonChan/subscriptions","organizations_url":"https://api.github.com/users/JessonChan/orgs","repos_url":"https://api.github.com/users/JessonChan/repos","events_url":"https://api.github.com/users/JessonChan/events{/privacy}","received_events_url":"https://api.github.com/users/JessonChan/received_events","type":"User","site_admin":false},"repo":{"id":42587685,"name":"beego","full_name":"JessonChan/beego","owner":{"login":"JessonChan","id":707691,"avatar_url":"https://avatars.githubusercontent.com/u/707691?v=3","gravatar_id":"","url":"https://api.github.com/users/JessonChan","html_url":"https://github.com/JessonChan","followers_url":"https://api.github.com/users/JessonChan/followers","following_url":"https://api.github.com/users/JessonChan/following{/other_user}","gists_url":"https://api.github.com/users/JessonChan/gists{/gist_id}","starred_url":"https://api.github.com/users/JessonChan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JessonChan/subscriptions","organizations_url":"https://api.github.com/users/JessonChan/orgs","repos_url":"https://api.github.com/users/JessonChan/repos","events_url":"https://api.github.com/users/JessonChan/events{/privacy}","received_events_url":"https://api.github.com/users/JessonChan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JessonChan/beego","description":"beego is an open-source, high-performance web framework for the Go programming language.","fork":true,"url":"https://api.github.com/repos/JessonChan/beego","forks_url":"https://api.github.com/repos/JessonChan/beego/forks","keys_url":"https://api.github.com/repos/JessonChan/beego/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JessonChan/beego/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JessonChan/beego/teams","hooks_url":"https://api.github.com/repos/JessonChan/beego/hooks","issue_events_url":"https://api.github.com/repos/JessonChan/beego/issues/events{/number}","events_url":"https://api.github.com/repos/JessonChan/beego/events","assignees_url":"https://api.github.com/repos/JessonChan/beego/assignees{/user}","branches_url":"https://api.github.com/repos/JessonChan/beego/branches{/branch}","tags_url":"https://api.github.com/repos/JessonChan/beego/tags","blobs_url":"https://api.github.com/repos/JessonChan/beego/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JessonChan/beego/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JessonChan/beego/git/refs{/sha}","trees_url":"https://api.github.com/repos/JessonChan/beego/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JessonChan/beego/statuses/{sha}","languages_url":"https://api.github.com/repos/JessonChan/beego/languages","stargazers_url":"https://api.github.com/repos/JessonChan/beego/stargazers","contributors_url":"https://api.github.com/repos/JessonChan/beego/contributors","subscribers_url":"https://api.github.com/repos/JessonChan/beego/subscribers","subscription_url":"https://api.github.com/repos/JessonChan/beego/subscription","commits_url":"https://api.github.com/repos/JessonChan/beego/commits{/sha}","git_commits_url":"https://api.github.com/repos/JessonChan/beego/git/commits{/sha}","comments_url":"https://api.github.com/repos/JessonChan/beego/comments{/number}","issue_comment_url":"https://api.github.com/repos/JessonChan/beego/issues/comments{/number}","contents_url":"https://api.github.com/repos/JessonChan/beego/contents/{+path}","compare_url":"https://api.github.com/repos/JessonChan/beego/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JessonChan/beego/merges","archive_url":"https://api.github.com/repos/JessonChan/beego/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JessonChan/beego/downloads","issues_url":"https://api.github.com/repos/JessonChan/beego/issues{/number}","pulls_url":"https://api.github.com/repos/JessonChan/beego/pulls{/number}","milestones_url":"https://api.github.com/repos/JessonChan/beego/milestones{/number}","notifications_url":"https://api.github.com/repos/JessonChan/beego/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JessonChan/beego/labels{/name}","releases_url":"https://api.github.com/repos/JessonChan/beego/releases{/id}","deployments_url":"https://api.github.com/repos/JessonChan/beego/deployments","created_at":"2015-09-16T13:07:46Z","updated_at":"2015-09-16T13:07:47Z","pushed_at":"2016-03-04T06:49:23Z","git_url":"git://github.com/JessonChan/beego.git","ssh_url":"git@github.com:JessonChan/beego.git","clone_url":"https://github.com/JessonChan/beego.git","svn_url":"https://github.com/JessonChan/beego","homepage":"beego.me","size":6024,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"astaxie:develop","ref":"develop","sha":"4b99e418803ea09043b026bb788006804ddce3dc","user":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"repo":{"id":3577919,"name":"beego","full_name":"astaxie/beego","owner":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/astaxie/beego","description":"beego is an open-source, high-performance web framework for the Go programming language.","fork":false,"url":"https://api.github.com/repos/astaxie/beego","forks_url":"https://api.github.com/repos/astaxie/beego/forks","keys_url":"https://api.github.com/repos/astaxie/beego/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astaxie/beego/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astaxie/beego/teams","hooks_url":"https://api.github.com/repos/astaxie/beego/hooks","issue_events_url":"https://api.github.com/repos/astaxie/beego/issues/events{/number}","events_url":"https://api.github.com/repos/astaxie/beego/events","assignees_url":"https://api.github.com/repos/astaxie/beego/assignees{/user}","branches_url":"https://api.github.com/repos/astaxie/beego/branches{/branch}","tags_url":"https://api.github.com/repos/astaxie/beego/tags","blobs_url":"https://api.github.com/repos/astaxie/beego/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astaxie/beego/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astaxie/beego/git/refs{/sha}","trees_url":"https://api.github.com/repos/astaxie/beego/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astaxie/beego/statuses/{sha}","languages_url":"https://api.github.com/repos/astaxie/beego/languages","stargazers_url":"https://api.github.com/repos/astaxie/beego/stargazers","contributors_url":"https://api.github.com/repos/astaxie/beego/contributors","subscribers_url":"https://api.github.com/repos/astaxie/beego/subscribers","subscription_url":"https://api.github.com/repos/astaxie/beego/subscription","commits_url":"https://api.github.com/repos/astaxie/beego/commits{/sha}","git_commits_url":"https://api.github.com/repos/astaxie/beego/git/commits{/sha}","comments_url":"https://api.github.com/repos/astaxie/beego/comments{/number}","issue_comment_url":"https://api.github.com/repos/astaxie/beego/issues/comments{/number}","contents_url":"https://api.github.com/repos/astaxie/beego/contents/{+path}","compare_url":"https://api.github.com/repos/astaxie/beego/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astaxie/beego/merges","archive_url":"https://api.github.com/repos/astaxie/beego/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astaxie/beego/downloads","issues_url":"https://api.github.com/repos/astaxie/beego/issues{/number}","pulls_url":"https://api.github.com/repos/astaxie/beego/pulls{/number}","milestones_url":"https://api.github.com/repos/astaxie/beego/milestones{/number}","notifications_url":"https://api.github.com/repos/astaxie/beego/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astaxie/beego/labels{/name}","releases_url":"https://api.github.com/repos/astaxie/beego/releases{/id}","deployments_url":"https://api.github.com/repos/astaxie/beego/deployments","created_at":"2012-02-29T02:32:08Z","updated_at":"2016-03-05T11:49:30Z","pushed_at":"2016-03-05T12:40:14Z","git_url":"git://github.com/astaxie/beego.git","ssh_url":"git@github.com:astaxie/beego.git","clone_url":"https://github.com/astaxie/beego.git","svn_url":"https://github.com/astaxie/beego","homepage":"beego.me","size":8017,"stargazers_count":6408,"watchers_count":6408,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1588,"mirror_url":null,"open_issues_count":240,"forks":1588,"open_issues":240,"watchers":6408,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1752"},"html":{"href":"https://github.com/astaxie/beego/pull/1752"},"issue":{"href":"https://api.github.com/repos/astaxie/beego/issues/1752"},"comments":{"href":"https://api.github.com/repos/astaxie/beego/issues/1752/comments"},"review_comments":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1752/comments"},"review_comment":{"href":"https://api.github.com/repos/astaxie/beego/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1752/commits"},"statuses":{"href":"https://api.github.com/repos/astaxie/beego/statuses/f5adec31c65f562f8d79871d724bf7a9163173dc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":49,"deletions":64,"changed_files":4}}