{"action":"created","comment":{"url":"https://api.github.com/repos/contiv/objmodel/pulls/comments/37324565","id":37324565,"diff_hunk":"@@ -0,0 +1,355 @@\n+package generators","path":"tools/modelgen/generators/templates.go","position":1,"original_position":1,"commit_id":"484c0e0ffc35431f68abfce2b47c6a9e8c3511d7","original_commit_id":"484c0e0ffc35431f68abfce2b47c6a9e8c3511d7","user":{"login":"erikh","id":18923,"avatar_url":"https://avatars.githubusercontent.com/u/18923?v=3","gravatar_id":"","url":"https://api.github.com/users/erikh","html_url":"https://github.com/erikh","followers_url":"https://api.github.com/users/erikh/followers","following_url":"https://api.github.com/users/erikh/following{/other_user}","gists_url":"https://api.github.com/users/erikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikh/subscriptions","organizations_url":"https://api.github.com/users/erikh/orgs","repos_url":"https://api.github.com/users/erikh/repos","events_url":"https://api.github.com/users/erikh/events{/privacy}","received_events_url":"https://api.github.com/users/erikh/received_events","type":"User","site_admin":false},"body":"you're absolutely correct, it does not. I'll remove it before we merge.","created_at":"2015-08-18T17:05:53Z","updated_at":"2015-08-18T17:05:53Z","html_url":"https://github.com/contiv/objmodel/pull/1#discussion_r37324565","pull_request_url":"https://api.github.com/repos/contiv/objmodel/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/contiv/objmodel/pulls/comments/37324565"},"html":{"href":"https://github.com/contiv/objmodel/pull/1#discussion_r37324565"},"pull_request":{"href":"https://api.github.com/repos/contiv/objmodel/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/contiv/objmodel/pulls/1","id":42662391,"html_url":"https://github.com/contiv/objmodel/pull/1","diff_url":"https://github.com/contiv/objmodel/pull/1.diff","patch_url":"https://github.com/contiv/objmodel/pull/1.patch","issue_url":"https://api.github.com/repos/contiv/objmodel/issues/1","number":1,"state":"open","locked":false,"title":"Modelgen refactors","user":{"login":"erikh","id":18923,"avatar_url":"https://avatars.githubusercontent.com/u/18923?v=3","gravatar_id":"","url":"https://api.github.com/users/erikh","html_url":"https://github.com/erikh","followers_url":"https://api.github.com/users/erikh/followers","following_url":"https://api.github.com/users/erikh/following{/other_user}","gists_url":"https://api.github.com/users/erikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikh/subscriptions","organizations_url":"https://api.github.com/users/erikh/orgs","repos_url":"https://api.github.com/users/erikh/repos","events_url":"https://api.github.com/users/erikh/events{/privacy}","received_events_url":"https://api.github.com/users/erikh/received_events","type":"User","site_admin":false},"body":"@shaleman \r\n\r\nI moved everything to template files with a generator to sew them all into a `.go` file for compilation. I think you'll like the result. I also fixed a small issue with the output directory not being created when specified.\r\n\r\nMore coming, but not tonight. PTAL.","created_at":"2015-08-18T05:23:51Z","updated_at":"2015-08-18T17:05:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c2258b6de114254e55965959ed43e21a32abf36","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/contiv/objmodel/pulls/1/commits","review_comments_url":"https://api.github.com/repos/contiv/objmodel/pulls/1/comments","review_comment_url":"https://api.github.com/repos/contiv/objmodel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contiv/objmodel/issues/1/comments","statuses_url":"https://api.github.com/repos/contiv/objmodel/statuses/484c0e0ffc35431f68abfce2b47c6a9e8c3511d7","head":{"label":"contiv:modelgen-refactors","ref":"modelgen-refactors","sha":"484c0e0ffc35431f68abfce2b47c6a9e8c3511d7","user":{"login":"contiv","id":10272443,"avatar_url":"https://avatars.githubusercontent.com/u/10272443?v=3","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"User","site_admin":false},"repo":{"id":40025883,"name":"objmodel","full_name":"contiv/objmodel","owner":{"login":"contiv","id":10272443,"avatar_url":"https://avatars.githubusercontent.com/u/10272443?v=3","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/contiv/objmodel","description":"","fork":false,"url":"https://api.github.com/repos/contiv/objmodel","forks_url":"https://api.github.com/repos/contiv/objmodel/forks","keys_url":"https://api.github.com/repos/contiv/objmodel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contiv/objmodel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contiv/objmodel/teams","hooks_url":"https://api.github.com/repos/contiv/objmodel/hooks","issue_events_url":"https://api.github.com/repos/contiv/objmodel/issues/events{/number}","events_url":"https://api.github.com/repos/contiv/objmodel/events","assignees_url":"https://api.github.com/repos/contiv/objmodel/assignees{/user}","branches_url":"https://api.github.com/repos/contiv/objmodel/branches{/branch}","tags_url":"https://api.github.com/repos/contiv/objmodel/tags","blobs_url":"https://api.github.com/repos/contiv/objmodel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contiv/objmodel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contiv/objmodel/git/refs{/sha}","trees_url":"https://api.github.com/repos/contiv/objmodel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contiv/objmodel/statuses/{sha}","languages_url":"https://api.github.com/repos/contiv/objmodel/languages","stargazers_url":"https://api.github.com/repos/contiv/objmodel/stargazers","contributors_url":"https://api.github.com/repos/contiv/objmodel/contributors","subscribers_url":"https://api.github.com/repos/contiv/objmodel/subscribers","subscription_url":"https://api.github.com/repos/contiv/objmodel/subscription","commits_url":"https://api.github.com/repos/contiv/objmodel/commits{/sha}","git_commits_url":"https://api.github.com/repos/contiv/objmodel/git/commits{/sha}","comments_url":"https://api.github.com/repos/contiv/objmodel/comments{/number}","issue_comment_url":"https://api.github.com/repos/contiv/objmodel/issues/comments{/number}","contents_url":"https://api.github.com/repos/contiv/objmodel/contents/{+path}","compare_url":"https://api.github.com/repos/contiv/objmodel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contiv/objmodel/merges","archive_url":"https://api.github.com/repos/contiv/objmodel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contiv/objmodel/downloads","issues_url":"https://api.github.com/repos/contiv/objmodel/issues{/number}","pulls_url":"https://api.github.com/repos/contiv/objmodel/pulls{/number}","milestones_url":"https://api.github.com/repos/contiv/objmodel/milestones{/number}","notifications_url":"https://api.github.com/repos/contiv/objmodel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contiv/objmodel/labels{/name}","releases_url":"https://api.github.com/repos/contiv/objmodel/releases{/id}","created_at":"2015-07-31T21:37:57Z","updated_at":"2015-07-31T23:24:08Z","pushed_at":"2015-08-18T05:23:52Z","git_url":"git://github.com/contiv/objmodel.git","ssh_url":"git@github.com:contiv/objmodel.git","clone_url":"https://github.com/contiv/objmodel.git","svn_url":"https://github.com/contiv/objmodel","homepage":null,"size":516,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"contiv:master","ref":"master","sha":"dd43e14dc02b8e0d85ac8469d00beac5386af16d","user":{"login":"contiv","id":10272443,"avatar_url":"https://avatars.githubusercontent.com/u/10272443?v=3","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"User","site_admin":false},"repo":{"id":40025883,"name":"objmodel","full_name":"contiv/objmodel","owner":{"login":"contiv","id":10272443,"avatar_url":"https://avatars.githubusercontent.com/u/10272443?v=3","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/contiv/objmodel","description":"","fork":false,"url":"https://api.github.com/repos/contiv/objmodel","forks_url":"https://api.github.com/repos/contiv/objmodel/forks","keys_url":"https://api.github.com/repos/contiv/objmodel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contiv/objmodel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contiv/objmodel/teams","hooks_url":"https://api.github.com/repos/contiv/objmodel/hooks","issue_events_url":"https://api.github.com/repos/contiv/objmodel/issues/events{/number}","events_url":"https://api.github.com/repos/contiv/objmodel/events","assignees_url":"https://api.github.com/repos/contiv/objmodel/assignees{/user}","branches_url":"https://api.github.com/repos/contiv/objmodel/branches{/branch}","tags_url":"https://api.github.com/repos/contiv/objmodel/tags","blobs_url":"https://api.github.com/repos/contiv/objmodel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contiv/objmodel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contiv/objmodel/git/refs{/sha}","trees_url":"https://api.github.com/repos/contiv/objmodel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contiv/objmodel/statuses/{sha}","languages_url":"https://api.github.com/repos/contiv/objmodel/languages","stargazers_url":"https://api.github.com/repos/contiv/objmodel/stargazers","contributors_url":"https://api.github.com/repos/contiv/objmodel/contributors","subscribers_url":"https://api.github.com/repos/contiv/objmodel/subscribers","subscription_url":"https://api.github.com/repos/contiv/objmodel/subscription","commits_url":"https://api.github.com/repos/contiv/objmodel/commits{/sha}","git_commits_url":"https://api.github.com/repos/contiv/objmodel/git/commits{/sha}","comments_url":"https://api.github.com/repos/contiv/objmodel/comments{/number}","issue_comment_url":"https://api.github.com/repos/contiv/objmodel/issues/comments{/number}","contents_url":"https://api.github.com/repos/contiv/objmodel/contents/{+path}","compare_url":"https://api.github.com/repos/contiv/objmodel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contiv/objmodel/merges","archive_url":"https://api.github.com/repos/contiv/objmodel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contiv/objmodel/downloads","issues_url":"https://api.github.com/repos/contiv/objmodel/issues{/number}","pulls_url":"https://api.github.com/repos/contiv/objmodel/pulls{/number}","milestones_url":"https://api.github.com/repos/contiv/objmodel/milestones{/number}","notifications_url":"https://api.github.com/repos/contiv/objmodel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contiv/objmodel/labels{/name}","releases_url":"https://api.github.com/repos/contiv/objmodel/releases{/id}","created_at":"2015-07-31T21:37:57Z","updated_at":"2015-07-31T23:24:08Z","pushed_at":"2015-08-18T05:23:52Z","git_url":"git://github.com/contiv/objmodel.git","ssh_url":"git@github.com:contiv/objmodel.git","clone_url":"https://github.com/contiv/objmodel.git","svn_url":"https://github.com/contiv/objmodel","homepage":null,"size":516,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contiv/objmodel/pulls/1"},"html":{"href":"https://github.com/contiv/objmodel/pull/1"},"issue":{"href":"https://api.github.com/repos/contiv/objmodel/issues/1"},"comments":{"href":"https://api.github.com/repos/contiv/objmodel/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/contiv/objmodel/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/contiv/objmodel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contiv/objmodel/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/contiv/objmodel/statuses/484c0e0ffc35431f68abfce2b47c6a9e8c3511d7"}}}}