{"action":"created","comment":{"url":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/comments/177008174","pull_request_review_id":106805349,"id":177008174,"diff_hunk":"@@ -2,28 +2,29 @@ package redis\n \n import (\n \t\"fmt\"\n-\t\"os\"\n \t\"testing\"\n \t\"time\"\n \n \t\"github.com/cryptopay-dev/yaga/cacher\"\n+\t\"github.com/cryptopay-dev/yaga/config\"\n \t\"github.com/go-redis/redis\"\n \t\"github.com/stretchr/testify/assert\"\n )\n \n const keyTpl = \"test:key:%d\"\n \n func closedCacher() cacher.Cacher {\n+","path":"cacher/redis/redis_test.go","position":17,"original_position":17,"commit_id":"cff908c37c6827df2681207adf71b8f044cf9b86","original_commit_id":"cff908c37c6827df2681207adf71b8f044cf9b86","user":{"login":"pcherednichenko","id":19668889,"avatar_url":"https://avatars1.githubusercontent.com/u/19668889?v=4","gravatar_id":"","url":"https://api.github.com/users/pcherednichenko","html_url":"https://github.com/pcherednichenko","followers_url":"https://api.github.com/users/pcherednichenko/followers","following_url":"https://api.github.com/users/pcherednichenko/following{/other_user}","gists_url":"https://api.github.com/users/pcherednichenko/gists{/gist_id}","starred_url":"https://api.github.com/users/pcherednichenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcherednichenko/subscriptions","organizations_url":"https://api.github.com/users/pcherednichenko/orgs","repos_url":"https://api.github.com/users/pcherednichenko/repos","events_url":"https://api.github.com/users/pcherednichenko/events{/privacy}","received_events_url":"https://api.github.com/users/pcherednichenko/received_events","type":"User","site_admin":false},"body":"why add here empty line?","created_at":"2018-03-26T08:11:20Z","updated_at":"2018-03-26T08:11:21Z","html_url":"https://github.com/cryptopay-dev/yaga/pull/97#discussion_r177008174","pull_request_url":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/97","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/comments/177008174"},"html":{"href":"https://github.com/cryptopay-dev/yaga/pull/97#discussion_r177008174"},"pull_request":{"href":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/97","id":177207855,"html_url":"https://github.com/cryptopay-dev/yaga/pull/97","diff_url":"https://github.com/cryptopay-dev/yaga/pull/97.diff","patch_url":"https://github.com/cryptopay-dev/yaga/pull/97.patch","issue_url":"https://api.github.com/repos/cryptopay-dev/yaga/issues/97","number":97,"state":"open","locked":false,"title":"[GO-41] Refactor config","user":{"login":"im-kulikov","id":888650,"avatar_url":"https://avatars3.githubusercontent.com/u/888650?v=4","gravatar_id":"","url":"https://api.github.com/users/im-kulikov","html_url":"https://github.com/im-kulikov","followers_url":"https://api.github.com/users/im-kulikov/followers","following_url":"https://api.github.com/users/im-kulikov/following{/other_user}","gists_url":"https://api.github.com/users/im-kulikov/gists{/gist_id}","starred_url":"https://api.github.com/users/im-kulikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/im-kulikov/subscriptions","organizations_url":"https://api.github.com/users/im-kulikov/orgs","repos_url":"https://api.github.com/users/im-kulikov/repos","events_url":"https://api.github.com/users/im-kulikov/events{/privacy}","received_events_url":"https://api.github.com/users/im-kulikov/received_events","type":"User","site_admin":false},"body":"- db / redis helpers\r\n- config refactoring\r\n- testdb from `config`\r\n- fix / refactor code\r\n- bump vendor","created_at":"2018-03-24T00:01:08Z","updated_at":"2018-03-26T08:11:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f1241beda98959c3450e106eab21ad71c5c25cb","assignee":{"login":"im-kulikov","id":888650,"avatar_url":"https://avatars3.githubusercontent.com/u/888650?v=4","gravatar_id":"","url":"https://api.github.com/users/im-kulikov","html_url":"https://github.com/im-kulikov","followers_url":"https://api.github.com/users/im-kulikov/followers","following_url":"https://api.github.com/users/im-kulikov/following{/other_user}","gists_url":"https://api.github.com/users/im-kulikov/gists{/gist_id}","starred_url":"https://api.github.com/users/im-kulikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/im-kulikov/subscriptions","organizations_url":"https://api.github.com/users/im-kulikov/orgs","repos_url":"https://api.github.com/users/im-kulikov/repos","events_url":"https://api.github.com/users/im-kulikov/events{/privacy}","received_events_url":"https://api.github.com/users/im-kulikov/received_events","type":"User","site_admin":false},"assignees":[{"login":"im-kulikov","id":888650,"avatar_url":"https://avatars3.githubusercontent.com/u/888650?v=4","gravatar_id":"","url":"https://api.github.com/users/im-kulikov","html_url":"https://github.com/im-kulikov","followers_url":"https://api.github.com/users/im-kulikov/followers","following_url":"https://api.github.com/users/im-kulikov/following{/other_user}","gists_url":"https://api.github.com/users/im-kulikov/gists{/gist_id}","starred_url":"https://api.github.com/users/im-kulikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/im-kulikov/subscriptions","organizations_url":"https://api.github.com/users/im-kulikov/orgs","repos_url":"https://api.github.com/users/im-kulikov/repos","events_url":"https://api.github.com/users/im-kulikov/events{/privacy}","received_events_url":"https://api.github.com/users/im-kulikov/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"m1ome","id":5213243,"avatar_url":"https://avatars3.githubusercontent.com/u/5213243?v=4","gravatar_id":"","url":"https://api.github.com/users/m1ome","html_url":"https://github.com/m1ome","followers_url":"https://api.github.com/users/m1ome/followers","following_url":"https://api.github.com/users/m1ome/following{/other_user}","gists_url":"https://api.github.com/users/m1ome/gists{/gist_id}","starred_url":"https://api.github.com/users/m1ome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m1ome/subscriptions","organizations_url":"https://api.github.com/users/m1ome/orgs","repos_url":"https://api.github.com/users/m1ome/repos","events_url":"https://api.github.com/users/m1ome/events{/privacy}","received_events_url":"https://api.github.com/users/m1ome/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":821175358,"url":"https://api.github.com/repos/cryptopay-dev/yaga/labels/docs","name":"docs","color":"d8a5f7","default":false},{"id":820061516,"url":"https://api.github.com/repos/cryptopay-dev/yaga/labels/examples","name":"examples","color":"b2fc9c","default":false},{"id":808975240,"url":"https://api.github.com/repos/cryptopay-dev/yaga/labels/refactoring","name":"refactoring","color":"1b29e8","default":false},{"id":838919311,"url":"https://api.github.com/repos/cryptopay-dev/yaga/labels/vendor","name":"vendor","color":"9a00c9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/97/commits","review_comments_url":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/97/comments","review_comment_url":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cryptopay-dev/yaga/issues/97/comments","statuses_url":"https://api.github.com/repos/cryptopay-dev/yaga/statuses/cff908c37c6827df2681207adf71b8f044cf9b86","head":{"label":"cryptopay-dev:GO-41","ref":"GO-41","sha":"cff908c37c6827df2681207adf71b8f044cf9b86","user":{"login":"cryptopay-dev","id":12111216,"avatar_url":"https://avatars1.githubusercontent.com/u/12111216?v=4","gravatar_id":"","url":"https://api.github.com/users/cryptopay-dev","html_url":"https://github.com/cryptopay-dev","followers_url":"https://api.github.com/users/cryptopay-dev/followers","following_url":"https://api.github.com/users/cryptopay-dev/following{/other_user}","gists_url":"https://api.github.com/users/cryptopay-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptopay-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptopay-dev/subscriptions","organizations_url":"https://api.github.com/users/cryptopay-dev/orgs","repos_url":"https://api.github.com/users/cryptopay-dev/repos","events_url":"https://api.github.com/users/cryptopay-dev/events{/privacy}","received_events_url":"https://api.github.com/users/cryptopay-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":116839519,"name":"yaga","full_name":"cryptopay-dev/yaga","owner":{"login":"cryptopay-dev","id":12111216,"avatar_url":"https://avatars1.githubusercontent.com/u/12111216?v=4","gravatar_id":"","url":"https://api.github.com/users/cryptopay-dev","html_url":"https://github.com/cryptopay-dev","followers_url":"https://api.github.com/users/cryptopay-dev/followers","following_url":"https://api.github.com/users/cryptopay-dev/following{/other_user}","gists_url":"https://api.github.com/users/cryptopay-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptopay-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptopay-dev/subscriptions","organizations_url":"https://api.github.com/users/cryptopay-dev/orgs","repos_url":"https://api.github.com/users/cryptopay-dev/repos","events_url":"https://api.github.com/users/cryptopay-dev/events{/privacy}","received_events_url":"https://api.github.com/users/cryptopay-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cryptopay-dev/yaga","description":null,"fork":false,"url":"https://api.github.com/repos/cryptopay-dev/yaga","forks_url":"https://api.github.com/repos/cryptopay-dev/yaga/forks","keys_url":"https://api.github.com/repos/cryptopay-dev/yaga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cryptopay-dev/yaga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cryptopay-dev/yaga/teams","hooks_url":"https://api.github.com/repos/cryptopay-dev/yaga/hooks","issue_events_url":"https://api.github.com/repos/cryptopay-dev/yaga/issues/events{/number}","events_url":"https://api.github.com/repos/cryptopay-dev/yaga/events","assignees_url":"https://api.github.com/repos/cryptopay-dev/yaga/assignees{/user}","branches_url":"https://api.github.com/repos/cryptopay-dev/yaga/branches{/branch}","tags_url":"https://api.github.com/repos/cryptopay-dev/yaga/tags","blobs_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/refs{/sha}","trees_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cryptopay-dev/yaga/statuses/{sha}","languages_url":"https://api.github.com/repos/cryptopay-dev/yaga/languages","stargazers_url":"https://api.github.com/repos/cryptopay-dev/yaga/stargazers","contributors_url":"https://api.github.com/repos/cryptopay-dev/yaga/contributors","subscribers_url":"https://api.github.com/repos/cryptopay-dev/yaga/subscribers","subscription_url":"https://api.github.com/repos/cryptopay-dev/yaga/subscription","commits_url":"https://api.github.com/repos/cryptopay-dev/yaga/commits{/sha}","git_commits_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/commits{/sha}","comments_url":"https://api.github.com/repos/cryptopay-dev/yaga/comments{/number}","issue_comment_url":"https://api.github.com/repos/cryptopay-dev/yaga/issues/comments{/number}","contents_url":"https://api.github.com/repos/cryptopay-dev/yaga/contents/{+path}","compare_url":"https://api.github.com/repos/cryptopay-dev/yaga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cryptopay-dev/yaga/merges","archive_url":"https://api.github.com/repos/cryptopay-dev/yaga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cryptopay-dev/yaga/downloads","issues_url":"https://api.github.com/repos/cryptopay-dev/yaga/issues{/number}","pulls_url":"https://api.github.com/repos/cryptopay-dev/yaga/pulls{/number}","milestones_url":"https://api.github.com/repos/cryptopay-dev/yaga/milestones{/number}","notifications_url":"https://api.github.com/repos/cryptopay-dev/yaga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cryptopay-dev/yaga/labels{/name}","releases_url":"https://api.github.com/repos/cryptopay-dev/yaga/releases{/id}","deployments_url":"https://api.github.com/repos/cryptopay-dev/yaga/deployments","created_at":"2018-01-09T16:15:49Z","updated_at":"2018-03-22T10:58:16Z","pushed_at":"2018-03-24T00:11:21Z","git_url":"git://github.com/cryptopay-dev/yaga.git","ssh_url":"git@github.com:cryptopay-dev/yaga.git","clone_url":"https://github.com/cryptopay-dev/yaga.git","svn_url":"https://github.com/cryptopay-dev/yaga","homepage":null,"size":1925,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":3,"watchers":6,"default_branch":"master"}},"base":{"label":"cryptopay-dev:v2","ref":"v2","sha":"703426f2332b60d0b724ed59488b55090d706634","user":{"login":"cryptopay-dev","id":12111216,"avatar_url":"https://avatars1.githubusercontent.com/u/12111216?v=4","gravatar_id":"","url":"https://api.github.com/users/cryptopay-dev","html_url":"https://github.com/cryptopay-dev","followers_url":"https://api.github.com/users/cryptopay-dev/followers","following_url":"https://api.github.com/users/cryptopay-dev/following{/other_user}","gists_url":"https://api.github.com/users/cryptopay-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptopay-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptopay-dev/subscriptions","organizations_url":"https://api.github.com/users/cryptopay-dev/orgs","repos_url":"https://api.github.com/users/cryptopay-dev/repos","events_url":"https://api.github.com/users/cryptopay-dev/events{/privacy}","received_events_url":"https://api.github.com/users/cryptopay-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":116839519,"name":"yaga","full_name":"cryptopay-dev/yaga","owner":{"login":"cryptopay-dev","id":12111216,"avatar_url":"https://avatars1.githubusercontent.com/u/12111216?v=4","gravatar_id":"","url":"https://api.github.com/users/cryptopay-dev","html_url":"https://github.com/cryptopay-dev","followers_url":"https://api.github.com/users/cryptopay-dev/followers","following_url":"https://api.github.com/users/cryptopay-dev/following{/other_user}","gists_url":"https://api.github.com/users/cryptopay-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptopay-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptopay-dev/subscriptions","organizations_url":"https://api.github.com/users/cryptopay-dev/orgs","repos_url":"https://api.github.com/users/cryptopay-dev/repos","events_url":"https://api.github.com/users/cryptopay-dev/events{/privacy}","received_events_url":"https://api.github.com/users/cryptopay-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cryptopay-dev/yaga","description":null,"fork":false,"url":"https://api.github.com/repos/cryptopay-dev/yaga","forks_url":"https://api.github.com/repos/cryptopay-dev/yaga/forks","keys_url":"https://api.github.com/repos/cryptopay-dev/yaga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cryptopay-dev/yaga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cryptopay-dev/yaga/teams","hooks_url":"https://api.github.com/repos/cryptopay-dev/yaga/hooks","issue_events_url":"https://api.github.com/repos/cryptopay-dev/yaga/issues/events{/number}","events_url":"https://api.github.com/repos/cryptopay-dev/yaga/events","assignees_url":"https://api.github.com/repos/cryptopay-dev/yaga/assignees{/user}","branches_url":"https://api.github.com/repos/cryptopay-dev/yaga/branches{/branch}","tags_url":"https://api.github.com/repos/cryptopay-dev/yaga/tags","blobs_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/refs{/sha}","trees_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cryptopay-dev/yaga/statuses/{sha}","languages_url":"https://api.github.com/repos/cryptopay-dev/yaga/languages","stargazers_url":"https://api.github.com/repos/cryptopay-dev/yaga/stargazers","contributors_url":"https://api.github.com/repos/cryptopay-dev/yaga/contributors","subscribers_url":"https://api.github.com/repos/cryptopay-dev/yaga/subscribers","subscription_url":"https://api.github.com/repos/cryptopay-dev/yaga/subscription","commits_url":"https://api.github.com/repos/cryptopay-dev/yaga/commits{/sha}","git_commits_url":"https://api.github.com/repos/cryptopay-dev/yaga/git/commits{/sha}","comments_url":"https://api.github.com/repos/cryptopay-dev/yaga/comments{/number}","issue_comment_url":"https://api.github.com/repos/cryptopay-dev/yaga/issues/comments{/number}","contents_url":"https://api.github.com/repos/cryptopay-dev/yaga/contents/{+path}","compare_url":"https://api.github.com/repos/cryptopay-dev/yaga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cryptopay-dev/yaga/merges","archive_url":"https://api.github.com/repos/cryptopay-dev/yaga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cryptopay-dev/yaga/downloads","issues_url":"https://api.github.com/repos/cryptopay-dev/yaga/issues{/number}","pulls_url":"https://api.github.com/repos/cryptopay-dev/yaga/pulls{/number}","milestones_url":"https://api.github.com/repos/cryptopay-dev/yaga/milestones{/number}","notifications_url":"https://api.github.com/repos/cryptopay-dev/yaga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cryptopay-dev/yaga/labels{/name}","releases_url":"https://api.github.com/repos/cryptopay-dev/yaga/releases{/id}","deployments_url":"https://api.github.com/repos/cryptopay-dev/yaga/deployments","created_at":"2018-01-09T16:15:49Z","updated_at":"2018-03-22T10:58:16Z","pushed_at":"2018-03-24T00:11:21Z","git_url":"git://github.com/cryptopay-dev/yaga.git","ssh_url":"git@github.com:cryptopay-dev/yaga.git","clone_url":"https://github.com/cryptopay-dev/yaga.git","svn_url":"https://github.com/cryptopay-dev/yaga","homepage":null,"size":1925,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":3,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/97"},"html":{"href":"https://github.com/cryptopay-dev/yaga/pull/97"},"issue":{"href":"https://api.github.com/repos/cryptopay-dev/yaga/issues/97"},"comments":{"href":"https://api.github.com/repos/cryptopay-dev/yaga/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cryptopay-dev/yaga/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/cryptopay-dev/yaga/statuses/cff908c37c6827df2681207adf71b8f044cf9b86"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"pcherednichenko"}}