{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/comments/192109460","pull_request_review_id":124817347,"id":192109460,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjEwOTQ2MA==","diff_hunk":"@@ -0,0 +1,67 @@\n+package sms\n+\n+import (\n+\t\"fmt\"\n+)\n+\n+const MaxSMSLength = 140\n+\n+type Message interface {\n+}\n+\n+type SMS struct {\n+\tTo   string\n+\tFrom string\n+\tBody string\n+}\n+\n+// New returns a new SMS instance\n+func NewSMS() SMS {\n+\treturn SMS{}\n+}\n+\n+// Compose returns an SMS initialised using the supplied parameters\n+func Compose(to string, from string, body string) SMS {","path":"smsApp/sms/sms.go","position":24,"original_position":24,"commit_id":"d00ae34b5591d4672f8c03fd63747dbddb2162d8","original_commit_id":"d00ae34b5591d4672f8c03fd63747dbddb2162d8","user":{"login":"mgenov","id":209223,"node_id":"MDQ6VXNlcjIwOTIyMw==","avatar_url":"https://avatars3.githubusercontent.com/u/209223?v=4","gravatar_id":"","url":"https://api.github.com/users/mgenov","html_url":"https://github.com/mgenov","followers_url":"https://api.github.com/users/mgenov/followers","following_url":"https://api.github.com/users/mgenov/following{/other_user}","gists_url":"https://api.github.com/users/mgenov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgenov/subscriptions","organizations_url":"https://api.github.com/users/mgenov/orgs","repos_url":"https://api.github.com/users/mgenov/repos","events_url":"https://api.github.com/users/mgenov/events{/privacy}","received_events_url":"https://api.github.com/users/mgenov/received_events","type":"User","site_admin":false},"body":"NewForSending()","created_at":"2018-05-31T14:01:58Z","updated_at":"2018-05-31T14:18:46Z","html_url":"https://github.com/clouway-incubator/georgi_minkov_go_testing/pull/2#discussion_r192109460","pull_request_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/2","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/comments/192109460"},"html":{"href":"https://github.com/clouway-incubator/georgi_minkov_go_testing/pull/2#discussion_r192109460"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/2","id":191758870,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNzU4ODcw","html_url":"https://github.com/clouway-incubator/georgi_minkov_go_testing/pull/2","diff_url":"https://github.com/clouway-incubator/georgi_minkov_go_testing/pull/2.diff","patch_url":"https://github.com/clouway-incubator/georgi_minkov_go_testing/pull/2.patch","issue_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/issues/2","number":2,"state":"open","locked":false,"title":"Write SMS package","user":{"login":"gmkv","id":22086365,"node_id":"MDQ6VXNlcjIyMDg2MzY1","avatar_url":"https://avatars1.githubusercontent.com/u/22086365?v=4","gravatar_id":"","url":"https://api.github.com/users/gmkv","html_url":"https://github.com/gmkv","followers_url":"https://api.github.com/users/gmkv/followers","following_url":"https://api.github.com/users/gmkv/following{/other_user}","gists_url":"https://api.github.com/users/gmkv/gists{/gist_id}","starred_url":"https://api.github.com/users/gmkv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmkv/subscriptions","organizations_url":"https://api.github.com/users/gmkv/orgs","repos_url":"https://api.github.com/users/gmkv/repos","events_url":"https://api.github.com/users/gmkv/events{/privacy}","received_events_url":"https://api.github.com/users/gmkv/received_events","type":"User","site_admin":false},"body":"This change introduces functionality to send SMS messages.\r\nUsing the package sms, you may send SMS messages using\r\n```\r\nmessenger := sms.NewSender(sms.NewSyntaxValidator(), sms.NewSMSGateway())\r\nm := sender.Compose()\r\nerr := sender.SendSMS(m SMS)\r\n```\r\nSendSMS internally composes a message using the supplied parameters,\r\nvalidates the message, and sends it off to a SMS gateway.\r\nIf an error occurs, it will be reported appropriately.","created_at":"2018-05-31T13:45:40Z","updated_at":"2018-05-31T14:18:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ee273895ad0e9d7539bc6f2370cbd72eee56ae5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/2/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/2/comments","review_comment_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/issues/2/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/statuses/d00ae34b5591d4672f8c03fd63747dbddb2162d8","head":{"label":"gmkv:sms","ref":"sms","sha":"d00ae34b5591d4672f8c03fd63747dbddb2162d8","user":{"login":"gmkv","id":22086365,"node_id":"MDQ6VXNlcjIyMDg2MzY1","avatar_url":"https://avatars1.githubusercontent.com/u/22086365?v=4","gravatar_id":"","url":"https://api.github.com/users/gmkv","html_url":"https://github.com/gmkv","followers_url":"https://api.github.com/users/gmkv/followers","following_url":"https://api.github.com/users/gmkv/following{/other_user}","gists_url":"https://api.github.com/users/gmkv/gists{/gist_id}","starred_url":"https://api.github.com/users/gmkv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmkv/subscriptions","organizations_url":"https://api.github.com/users/gmkv/orgs","repos_url":"https://api.github.com/users/gmkv/repos","events_url":"https://api.github.com/users/gmkv/events{/privacy}","received_events_url":"https://api.github.com/users/gmkv/received_events","type":"User","site_admin":false},"repo":{"id":132617640,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2MTc2NDA=","name":"georgi_minkov_go_testing","full_name":"gmkv/georgi_minkov_go_testing","owner":{"login":"gmkv","id":22086365,"node_id":"MDQ6VXNlcjIyMDg2MzY1","avatar_url":"https://avatars1.githubusercontent.com/u/22086365?v=4","gravatar_id":"","url":"https://api.github.com/users/gmkv","html_url":"https://github.com/gmkv","followers_url":"https://api.github.com/users/gmkv/followers","following_url":"https://api.github.com/users/gmkv/following{/other_user}","gists_url":"https://api.github.com/users/gmkv/gists{/gist_id}","starred_url":"https://api.github.com/users/gmkv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmkv/subscriptions","organizations_url":"https://api.github.com/users/gmkv/orgs","repos_url":"https://api.github.com/users/gmkv/repos","events_url":"https://api.github.com/users/gmkv/events{/privacy}","received_events_url":"https://api.github.com/users/gmkv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gmkv/georgi_minkov_go_testing","description":null,"fork":true,"url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing","forks_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/forks","keys_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/teams","hooks_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/hooks","issue_events_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/issues/events{/number}","events_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/events","assignees_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/assignees{/user}","branches_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/branches{/branch}","tags_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/tags","blobs_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/statuses/{sha}","languages_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/languages","stargazers_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/stargazers","contributors_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/contributors","subscribers_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/subscribers","subscription_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/subscription","commits_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/issues/comments{/number}","contents_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/contents/{+path}","compare_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/merges","archive_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/downloads","issues_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/issues{/number}","pulls_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/pulls{/number}","milestones_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/milestones{/number}","notifications_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/labels{/name}","releases_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/releases{/id}","deployments_url":"https://api.github.com/repos/gmkv/georgi_minkov_go_testing/deployments","created_at":"2018-05-08T14:03:20Z","updated_at":"2018-05-08T14:03:22Z","pushed_at":"2018-05-31T13:43:49Z","git_url":"git://github.com/gmkv/georgi_minkov_go_testing.git","ssh_url":"git@github.com:gmkv/georgi_minkov_go_testing.git","clone_url":"https://github.com/gmkv/georgi_minkov_go_testing.git","svn_url":"https://github.com/gmkv/georgi_minkov_go_testing","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"clouway-incubator:master","ref":"master","sha":"b29d504b23b661af25790b7aa3272b99cf17d265","user":{"login":"clouway-incubator","id":10173098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTczMDk4","avatar_url":"https://avatars2.githubusercontent.com/u/10173098?v=4","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":131970395,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE5NzAzOTU=","name":"georgi_minkov_go_testing","full_name":"clouway-incubator/georgi_minkov_go_testing","owner":{"login":"clouway-incubator","id":10173098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTczMDk4","avatar_url":"https://avatars2.githubusercontent.com/u/10173098?v=4","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clouway-incubator/georgi_minkov_go_testing","description":null,"fork":false,"url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing","forks_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/forks","keys_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/teams","hooks_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/hooks","issue_events_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/issues/events{/number}","events_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/events","assignees_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/assignees{/user}","branches_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/branches{/branch}","tags_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/tags","blobs_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/git/refs{/sha}","trees_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/statuses/{sha}","languages_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/languages","stargazers_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/stargazers","contributors_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/contributors","subscribers_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/subscribers","subscription_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/subscription","commits_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/commits{/sha}","git_commits_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/git/commits{/sha}","comments_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/comments{/number}","issue_comment_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/issues/comments{/number}","contents_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/contents/{+path}","compare_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/merges","archive_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/downloads","issues_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/issues{/number}","pulls_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls{/number}","milestones_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/milestones{/number}","notifications_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/labels{/name}","releases_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/releases{/id}","deployments_url":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/deployments","created_at":"2018-05-03T09:11:35Z","updated_at":"2018-05-03T09:11:37Z","pushed_at":"2018-05-31T13:45:41Z","git_url":"git://github.com/clouway-incubator/georgi_minkov_go_testing.git","ssh_url":"git@github.com:clouway-incubator/georgi_minkov_go_testing.git","clone_url":"https://github.com/clouway-incubator/georgi_minkov_go_testing.git","svn_url":"https://github.com/clouway-incubator/georgi_minkov_go_testing","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/2"},"html":{"href":"https://github.com/clouway-incubator/georgi_minkov_go_testing/pull/2"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/issues/2"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/georgi_minkov_go_testing/statuses/d00ae34b5591d4672f8c03fd63747dbddb2162d8"}},"author_association":"NONE"}}
{"actor":{"display_login":"mgenov"}}