{"action":"created","comment":{"url":"https://api.github.com/repos/iterableio/api/pulls/comments/58301214","id":58301214,"diff_hunk":"@@ -0,0 +1,25 @@\n+package db\n+\n+import (\n+\t\"testing\"\n+\n+\t\"github.com/stretchr/testify/assert\"\n+)\n+\n+func TestBuildDataSourceName(t *testing.T) {\n+\tassert := assert.New(t)","path":"db/db_test.go","position":10,"original_position":10,"commit_id":"70eff8d0d9dd8b36e883d6c896185e41390ab5d2","original_commit_id":"70eff8d0d9dd8b36e883d6c896185e41390ab5d2","user":{"login":"Wojtechnology","id":6377160,"avatar_url":"https://avatars.githubusercontent.com/u/6377160?v=3","gravatar_id":"","url":"https://api.github.com/users/Wojtechnology","html_url":"https://github.com/Wojtechnology","followers_url":"https://api.github.com/users/Wojtechnology/followers","following_url":"https://api.github.com/users/Wojtechnology/following{/other_user}","gists_url":"https://api.github.com/users/Wojtechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/Wojtechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wojtechnology/subscriptions","organizations_url":"https://api.github.com/users/Wojtechnology/orgs","repos_url":"https://api.github.com/users/Wojtechnology/repos","events_url":"https://api.github.com/users/Wojtechnology/events{/privacy}","received_events_url":"https://api.github.com/users/Wojtechnology/received_events","type":"User","site_admin":false},"body":"It's nice","created_at":"2016-04-02T22:40:45Z","updated_at":"2016-04-02T22:40:45Z","html_url":"https://github.com/iterableio/api/pull/2#discussion_r58301214","pull_request_url":"https://api.github.com/repos/iterableio/api/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/iterableio/api/pulls/comments/58301214"},"html":{"href":"https://github.com/iterableio/api/pull/2#discussion_r58301214"},"pull_request":{"href":"https://api.github.com/repos/iterableio/api/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/iterableio/api/pulls/2","id":65048011,"html_url":"https://github.com/iterableio/api/pull/2","diff_url":"https://github.com/iterableio/api/pull/2.diff","patch_url":"https://github.com/iterableio/api/pull/2.patch","issue_url":"https://api.github.com/repos/iterableio/api/issues/2","number":2,"state":"open","locked":false,"title":"Added Database initialization and some config management","user":{"login":"Wojtechnology","id":6377160,"avatar_url":"https://avatars.githubusercontent.com/u/6377160?v=3","gravatar_id":"","url":"https://api.github.com/users/Wojtechnology","html_url":"https://github.com/Wojtechnology","followers_url":"https://api.github.com/users/Wojtechnology/followers","following_url":"https://api.github.com/users/Wojtechnology/following{/other_user}","gists_url":"https://api.github.com/users/Wojtechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/Wojtechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wojtechnology/subscriptions","organizations_url":"https://api.github.com/users/Wojtechnology/orgs","repos_url":"https://api.github.com/users/Wojtechnology/repos","events_url":"https://api.github.com/users/Wojtechnology/events{/privacy}","received_events_url":"https://api.github.com/users/Wojtechnology/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-02T19:42:48Z","updated_at":"2016-04-02T22:40:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5aae3b53ebbb45795b8a9155ec971c2d49a498f0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iterableio/api/pulls/2/commits","review_comments_url":"https://api.github.com/repos/iterableio/api/pulls/2/comments","review_comment_url":"https://api.github.com/repos/iterableio/api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iterableio/api/issues/2/comments","statuses_url":"https://api.github.com/repos/iterableio/api/statuses/70eff8d0d9dd8b36e883d6c896185e41390ab5d2","head":{"label":"iterableio:ws_db","ref":"ws_db","sha":"70eff8d0d9dd8b36e883d6c896185e41390ab5d2","user":{"login":"iterableio","id":17819951,"avatar_url":"https://avatars.githubusercontent.com/u/17819951?v=3","gravatar_id":"","url":"https://api.github.com/users/iterableio","html_url":"https://github.com/iterableio","followers_url":"https://api.github.com/users/iterableio/followers","following_url":"https://api.github.com/users/iterableio/following{/other_user}","gists_url":"https://api.github.com/users/iterableio/gists{/gist_id}","starred_url":"https://api.github.com/users/iterableio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterableio/subscriptions","organizations_url":"https://api.github.com/users/iterableio/orgs","repos_url":"https://api.github.com/users/iterableio/repos","events_url":"https://api.github.com/users/iterableio/events{/privacy}","received_events_url":"https://api.github.com/users/iterableio/received_events","type":"Organization","site_admin":false},"repo":{"id":55280261,"name":"api","full_name":"iterableio/api","owner":{"login":"iterableio","id":17819951,"avatar_url":"https://avatars.githubusercontent.com/u/17819951?v=3","gravatar_id":"","url":"https://api.github.com/users/iterableio","html_url":"https://github.com/iterableio","followers_url":"https://api.github.com/users/iterableio/followers","following_url":"https://api.github.com/users/iterableio/following{/other_user}","gists_url":"https://api.github.com/users/iterableio/gists{/gist_id}","starred_url":"https://api.github.com/users/iterableio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterableio/subscriptions","organizations_url":"https://api.github.com/users/iterableio/orgs","repos_url":"https://api.github.com/users/iterableio/repos","events_url":"https://api.github.com/users/iterableio/events{/privacy}","received_events_url":"https://api.github.com/users/iterableio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iterableio/api","description":"is best","fork":false,"url":"https://api.github.com/repos/iterableio/api","forks_url":"https://api.github.com/repos/iterableio/api/forks","keys_url":"https://api.github.com/repos/iterableio/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iterableio/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iterableio/api/teams","hooks_url":"https://api.github.com/repos/iterableio/api/hooks","issue_events_url":"https://api.github.com/repos/iterableio/api/issues/events{/number}","events_url":"https://api.github.com/repos/iterableio/api/events","assignees_url":"https://api.github.com/repos/iterableio/api/assignees{/user}","branches_url":"https://api.github.com/repos/iterableio/api/branches{/branch}","tags_url":"https://api.github.com/repos/iterableio/api/tags","blobs_url":"https://api.github.com/repos/iterableio/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iterableio/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iterableio/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/iterableio/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iterableio/api/statuses/{sha}","languages_url":"https://api.github.com/repos/iterableio/api/languages","stargazers_url":"https://api.github.com/repos/iterableio/api/stargazers","contributors_url":"https://api.github.com/repos/iterableio/api/contributors","subscribers_url":"https://api.github.com/repos/iterableio/api/subscribers","subscription_url":"https://api.github.com/repos/iterableio/api/subscription","commits_url":"https://api.github.com/repos/iterableio/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/iterableio/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/iterableio/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/iterableio/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/iterableio/api/contents/{+path}","compare_url":"https://api.github.com/repos/iterableio/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iterableio/api/merges","archive_url":"https://api.github.com/repos/iterableio/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iterableio/api/downloads","issues_url":"https://api.github.com/repos/iterableio/api/issues{/number}","pulls_url":"https://api.github.com/repos/iterableio/api/pulls{/number}","milestones_url":"https://api.github.com/repos/iterableio/api/milestones{/number}","notifications_url":"https://api.github.com/repos/iterableio/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iterableio/api/labels{/name}","releases_url":"https://api.github.com/repos/iterableio/api/releases{/id}","deployments_url":"https://api.github.com/repos/iterableio/api/deployments","created_at":"2016-04-02T05:56:25Z","updated_at":"2016-04-02T06:51:21Z","pushed_at":"2016-04-02T19:44:30Z","git_url":"git://github.com/iterableio/api.git","ssh_url":"git@github.com:iterableio/api.git","clone_url":"https://github.com/iterableio/api.git","svn_url":"https://github.com/iterableio/api","homepage":null,"size":706,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"iterableio:master","ref":"master","sha":"1781d4d7bb7b53eda173f91f081ad7fc70475dc9","user":{"login":"iterableio","id":17819951,"avatar_url":"https://avatars.githubusercontent.com/u/17819951?v=3","gravatar_id":"","url":"https://api.github.com/users/iterableio","html_url":"https://github.com/iterableio","followers_url":"https://api.github.com/users/iterableio/followers","following_url":"https://api.github.com/users/iterableio/following{/other_user}","gists_url":"https://api.github.com/users/iterableio/gists{/gist_id}","starred_url":"https://api.github.com/users/iterableio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterableio/subscriptions","organizations_url":"https://api.github.com/users/iterableio/orgs","repos_url":"https://api.github.com/users/iterableio/repos","events_url":"https://api.github.com/users/iterableio/events{/privacy}","received_events_url":"https://api.github.com/users/iterableio/received_events","type":"Organization","site_admin":false},"repo":{"id":55280261,"name":"api","full_name":"iterableio/api","owner":{"login":"iterableio","id":17819951,"avatar_url":"https://avatars.githubusercontent.com/u/17819951?v=3","gravatar_id":"","url":"https://api.github.com/users/iterableio","html_url":"https://github.com/iterableio","followers_url":"https://api.github.com/users/iterableio/followers","following_url":"https://api.github.com/users/iterableio/following{/other_user}","gists_url":"https://api.github.com/users/iterableio/gists{/gist_id}","starred_url":"https://api.github.com/users/iterableio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterableio/subscriptions","organizations_url":"https://api.github.com/users/iterableio/orgs","repos_url":"https://api.github.com/users/iterableio/repos","events_url":"https://api.github.com/users/iterableio/events{/privacy}","received_events_url":"https://api.github.com/users/iterableio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iterableio/api","description":"is best","fork":false,"url":"https://api.github.com/repos/iterableio/api","forks_url":"https://api.github.com/repos/iterableio/api/forks","keys_url":"https://api.github.com/repos/iterableio/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iterableio/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iterableio/api/teams","hooks_url":"https://api.github.com/repos/iterableio/api/hooks","issue_events_url":"https://api.github.com/repos/iterableio/api/issues/events{/number}","events_url":"https://api.github.com/repos/iterableio/api/events","assignees_url":"https://api.github.com/repos/iterableio/api/assignees{/user}","branches_url":"https://api.github.com/repos/iterableio/api/branches{/branch}","tags_url":"https://api.github.com/repos/iterableio/api/tags","blobs_url":"https://api.github.com/repos/iterableio/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iterableio/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iterableio/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/iterableio/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iterableio/api/statuses/{sha}","languages_url":"https://api.github.com/repos/iterableio/api/languages","stargazers_url":"https://api.github.com/repos/iterableio/api/stargazers","contributors_url":"https://api.github.com/repos/iterableio/api/contributors","subscribers_url":"https://api.github.com/repos/iterableio/api/subscribers","subscription_url":"https://api.github.com/repos/iterableio/api/subscription","commits_url":"https://api.github.com/repos/iterableio/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/iterableio/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/iterableio/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/iterableio/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/iterableio/api/contents/{+path}","compare_url":"https://api.github.com/repos/iterableio/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iterableio/api/merges","archive_url":"https://api.github.com/repos/iterableio/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iterableio/api/downloads","issues_url":"https://api.github.com/repos/iterableio/api/issues{/number}","pulls_url":"https://api.github.com/repos/iterableio/api/pulls{/number}","milestones_url":"https://api.github.com/repos/iterableio/api/milestones{/number}","notifications_url":"https://api.github.com/repos/iterableio/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iterableio/api/labels{/name}","releases_url":"https://api.github.com/repos/iterableio/api/releases{/id}","deployments_url":"https://api.github.com/repos/iterableio/api/deployments","created_at":"2016-04-02T05:56:25Z","updated_at":"2016-04-02T06:51:21Z","pushed_at":"2016-04-02T19:44:30Z","git_url":"git://github.com/iterableio/api.git","ssh_url":"git@github.com:iterableio/api.git","clone_url":"https://github.com/iterableio/api.git","svn_url":"https://github.com/iterableio/api","homepage":null,"size":706,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iterableio/api/pulls/2"},"html":{"href":"https://github.com/iterableio/api/pull/2"},"issue":{"href":"https://api.github.com/repos/iterableio/api/issues/2"},"comments":{"href":"https://api.github.com/repos/iterableio/api/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/iterableio/api/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/iterableio/api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iterableio/api/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/iterableio/api/statuses/70eff8d0d9dd8b36e883d6c896185e41390ab5d2"}}}}