{"action":"created","comment":{"url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/comments/37445088","id":37445088,"diff_hunk":"@@ -34,9 +33,10 @@ type WeatherReport struct {\n func main() {\n \tvar err error\n \tlog.Println(\"Establishing connection to Redis\")\n-\tredisCon, err = redis.Dial(\"tcp\", redisAddress())\n+\n+\tredisCon, err = redis.Dial(\"unix\", \"/tmp/redis.sock\")\n \tif err != nil {\n-\t\tlog.Fatalf(\"Could not connect to Redis with error: %s\", err)\n+\t\tlog.Fatalf(\"Could not connect to Redis with error: %s\\n\", err)","path":"main.go","position":17,"original_position":17,"commit_id":"01c8e9563265cad02af35855cffab8a9e05da110","original_commit_id":"01c8e9563265cad02af35855cffab8a9e05da110","user":{"login":"luebken","id":53055,"avatar_url":"https://avatars.githubusercontent.com/u/53055?v=3","gravatar_id":"","url":"https://api.github.com/users/luebken","html_url":"https://github.com/luebken","followers_url":"https://api.github.com/users/luebken/followers","following_url":"https://api.github.com/users/luebken/following{/other_user}","gists_url":"https://api.github.com/users/luebken/gists{/gist_id}","starred_url":"https://api.github.com/users/luebken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luebken/subscriptions","organizations_url":"https://api.github.com/users/luebken/orgs","repos_url":"https://api.github.com/users/luebken/repos","events_url":"https://api.github.com/users/luebken/events{/privacy}","received_events_url":"https://api.github.com/users/luebken/received_events","type":"User","site_admin":false},"body":"TODO remove newline","created_at":"2015-08-19T17:51:04Z","updated_at":"2015-08-19T17:51:04Z","html_url":"https://github.com/giantswarm/giantswarm-firstapp-go/pull/16#discussion_r37445088","pull_request_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/comments/37445088"},"html":{"href":"https://github.com/giantswarm/giantswarm-firstapp-go/pull/16#discussion_r37445088"},"pull_request":{"href":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/16","id":42843169,"html_url":"https://github.com/giantswarm/giantswarm-firstapp-go/pull/16","diff_url":"https://github.com/giantswarm/giantswarm-firstapp-go/pull/16.diff","patch_url":"https://github.com/giantswarm/giantswarm-firstapp-go/pull/16.patch","issue_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues/16","number":16,"state":"open","locked":false,"title":"Usage of pod and unix-sockets","user":{"login":"luebken","id":53055,"avatar_url":"https://avatars.githubusercontent.com/u/53055?v=3","gravatar_id":"","url":"https://api.github.com/users/luebken","html_url":"https://github.com/luebken","followers_url":"https://api.github.com/users/luebken/followers","following_url":"https://api.github.com/users/luebken/following{/other_user}","gists_url":"https://api.github.com/users/luebken/gists{/gist_id}","starred_url":"https://api.github.com/users/luebken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luebken/subscriptions","organizations_url":"https://api.github.com/users/luebken/orgs","repos_url":"https://api.github.com/users/luebken/repos","events_url":"https://api.github.com/users/luebken/events{/privacy}","received_events_url":"https://api.github.com/users/luebken/received_events","type":"User","site_admin":false},"body":"This PR shows how to use a pod in order to use unix-sockets as the communication between the app and the redis.\r\n\r\nOrga question: Should the pod example stay in this branch or move to its own repo?\r\n\r\nTODOs:\r\n * [ ] Finish Readme","created_at":"2015-08-19T17:46:12Z","updated_at":"2015-08-19T17:51:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6bd6d9517491b60667c6b10695112cbcbdc8aae3","assignee":{"login":"luebken","id":53055,"avatar_url":"https://avatars.githubusercontent.com/u/53055?v=3","gravatar_id":"","url":"https://api.github.com/users/luebken","html_url":"https://github.com/luebken","followers_url":"https://api.github.com/users/luebken/followers","following_url":"https://api.github.com/users/luebken/following{/other_user}","gists_url":"https://api.github.com/users/luebken/gists{/gist_id}","starred_url":"https://api.github.com/users/luebken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luebken/subscriptions","organizations_url":"https://api.github.com/users/luebken/orgs","repos_url":"https://api.github.com/users/luebken/repos","events_url":"https://api.github.com/users/luebken/events{/privacy}","received_events_url":"https://api.github.com/users/luebken/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/16/commits","review_comments_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/16/comments","review_comment_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues/16/comments","statuses_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/statuses/01c8e9563265cad02af35855cffab8a9e05da110","head":{"label":"giantswarm:unix-socket","ref":"unix-socket","sha":"01c8e9563265cad02af35855cffab8a9e05da110","user":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars.githubusercontent.com/u/7556340?v=3","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"repo":{"id":29723493,"name":"giantswarm-firstapp-go","full_name":"giantswarm/giantswarm-firstapp-go","owner":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars.githubusercontent.com/u/7556340?v=3","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giantswarm/giantswarm-firstapp-go","description":"A simple example with Go, Redis and Docker demonstrating Giant Swarm","fork":false,"url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go","forks_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/forks","keys_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/teams","hooks_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/hooks","issue_events_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues/events{/number}","events_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/events","assignees_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/assignees{/user}","branches_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/branches{/branch}","tags_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/tags","blobs_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/statuses/{sha}","languages_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/languages","stargazers_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/stargazers","contributors_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/contributors","subscribers_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/subscribers","subscription_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/subscription","commits_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/contents/{+path}","compare_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/merges","archive_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/downloads","issues_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues{/number}","pulls_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls{/number}","milestones_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/milestones{/number}","notifications_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/labels{/name}","releases_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/releases{/id}","created_at":"2015-01-23T08:24:08Z","updated_at":"2015-05-25T13:00:19Z","pushed_at":"2015-08-19T17:46:12Z","git_url":"git://github.com/giantswarm/giantswarm-firstapp-go.git","ssh_url":"git@github.com:giantswarm/giantswarm-firstapp-go.git","clone_url":"https://github.com/giantswarm/giantswarm-firstapp-go.git","svn_url":"https://github.com/giantswarm/giantswarm-firstapp-go","homepage":"http://docs.giantswarm.io/guides/your-first-application/golang/","size":330,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":7,"default_branch":"master"}},"base":{"label":"giantswarm:pod","ref":"pod","sha":"44ab76f8c9eb7240afbadc11af6a53c95420ef9f","user":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars.githubusercontent.com/u/7556340?v=3","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"repo":{"id":29723493,"name":"giantswarm-firstapp-go","full_name":"giantswarm/giantswarm-firstapp-go","owner":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars.githubusercontent.com/u/7556340?v=3","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giantswarm/giantswarm-firstapp-go","description":"A simple example with Go, Redis and Docker demonstrating Giant Swarm","fork":false,"url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go","forks_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/forks","keys_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/teams","hooks_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/hooks","issue_events_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues/events{/number}","events_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/events","assignees_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/assignees{/user}","branches_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/branches{/branch}","tags_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/tags","blobs_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/statuses/{sha}","languages_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/languages","stargazers_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/stargazers","contributors_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/contributors","subscribers_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/subscribers","subscription_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/subscription","commits_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/contents/{+path}","compare_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/merges","archive_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/downloads","issues_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues{/number}","pulls_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls{/number}","milestones_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/milestones{/number}","notifications_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/labels{/name}","releases_url":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/releases{/id}","created_at":"2015-01-23T08:24:08Z","updated_at":"2015-05-25T13:00:19Z","pushed_at":"2015-08-19T17:46:12Z","git_url":"git://github.com/giantswarm/giantswarm-firstapp-go.git","ssh_url":"git@github.com:giantswarm/giantswarm-firstapp-go.git","clone_url":"https://github.com/giantswarm/giantswarm-firstapp-go.git","svn_url":"https://github.com/giantswarm/giantswarm-firstapp-go","homepage":"http://docs.giantswarm.io/guides/your-first-application/golang/","size":330,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/16"},"html":{"href":"https://github.com/giantswarm/giantswarm-firstapp-go/pull/16"},"issue":{"href":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues/16"},"comments":{"href":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/giantswarm/giantswarm-firstapp-go/statuses/01c8e9563265cad02af35855cffab8a9e05da110"}}}}