{"action":"created","comment":{"url":"https://api.github.com/repos/golang-ru/tour/pulls/comments/78298841","id":78298841,"diff_hunk":"@@ -133,102 +185,136 @@ Go's basic types are\n \tint  int8  int16  int32  int64\n \tuint uint8 uint16 uint32 uint64 uintptr\n \n-\tbyte // alias for uint8\n+\tbyte // псевдоним для uint8\n \n-\trune // alias for int32\n-\t     // represents a Unicode code point\n+\trune // псевдоним для int32\n+\t     // представляет код таблицы Unicode\n \n \tfloat32 float64\n \n \tcomplex64 complex128\n \n-The example shows variables of several types,\n-and also that variable declarations may be \"factored\" into blocks,\n-as with import statements.\n+Пример показывает переменные разных типов, а так же то, что объявление переменных может быть сгруппированно в блоки, по аналогии с группировкой импортируемых модулей.\n+#en: The example shows variables of several types,\n+#en: and also that variable declarations may be \"factored\" into blocks,\n+#en: as with import statements.\n \n-The `int`, `uint`, and `uintptr` types are usually 32 bits wide on 32-bit systems and 64 bits wide on 64-bit systems.\n-When you need an integer value you should use `int` unless you have a specific reason to use a sized or unsigned integer type.\n+Типы `int`, `uint` и `uintptr` обычно имеют размер 32 бита на 32-ух битных системах и 64 бита на 64-ёх битных.\n+#en: The `int`, `uint`, and `uintptr` types are usually 32 bits wide on 32-bit systems and 64 bits wide on 64-bit systems.\n+Вы должны использовать `int`, если у вас нет специальной причины использовать тип с чётким указанием размера или целочисленный тип без знака.\n+#en: When you need an integer value you should use `int` unless you have a specific reason to use a sized or unsigned integer type.\n \n .play basics/basic-types.go\n \n-* Zero values\n+* Нулевые значения\n+#en: * Zero values\n+\n+Переменные, объявленные без явного начального значения получают своё _нулевое_значение_.\n+#en: Variables declared without an explicit initial value are given their\n+#en: _zero_value_.\n+\n+Нулевое значение это:\n \n-Variables declared without an explicit initial value are given their\n-_zero_value_.\n+- `0` - для числовых типов\n+- `false` - для булевых типов, и \n+- `\"\"` - (пустая строка) для строк.\n \n-The zero value is:\n+#en: The zero value is:\n \n-- `0` for numeric types,\n-- `false` for the boolean type, and\n-- `\"\"` (the empty string) for strings.\n+#en: - `0` for numeric types,\n+#en: - `false` for the boolean type, and\n+#en: - `\"\"` (the empty string) for strings.\n \n .play basics/zero.go\n \n-* Type conversions\n+* Преобразование типов\n+#en: * Type conversions\n \n-The expression `T(v)` converts the value `v` to the type `T`.\n+Выражение `T(v)` преобразует значение `v` в тип `T`.\n+#en: The expression `T(v)` converts the value `v` to the type `T`.\n \n-Some numeric conversions:\n+Некоторые числовые преобразования типов:\n+#en: Some numeric conversions:\n \n \tvar i int = 42\n \tvar f float64 = float64(i)\n \tvar u uint = uint(f)\n \n-Or, put more simply:\n+Или даже проще:\n+#en: Or, put more simply:\n \n \ti := 42\n \tf := float64(i)\n \tu := uint(f)\n \n-Unlike in C, in Go assignment between items of different type requires an\n-explicit conversion.\n-Try removing the `float64` or `uint` conversions in the example and see what happens.\n+В отличии от языка C, в Go присваивание между различными переменными разных типов требуют явного преобразования типа.\n+#en: Unlike in C, in Go assignment between items of different type requires an\n+#en: explicit conversion.\n+Попробуйте удалить `float64` или `uint` преобразование в примере и посмотрите, что произойдёт.\n+#en: Try removing the `float64` or `uint` conversions in the example and see what happens.\n \n .play basics/type-conversions.go\n \n-* Type inference\n+* Вывод типов\n+#en: * Type inference\n \n-When declaring a variable without specifying an explicit type (either by using the `:=` syntax or `var`=` expression syntax), the variable's type is inferred from the value on the right hand side.\n+Когда переменная объявляется без явного указания типа (используя как короткий синтаксис `:=` так и `var`=`), тип переменной выводится из значения выражения с правой стороны. ","path":"content/basics.article","position":336,"original_position":336,"commit_id":"fc50e2609db88a72edabd4ff33decf1266f8afc1","original_commit_id":"fc50e2609db88a72edabd4ff33decf1266f8afc1","user":{"login":"rumyantseva","id":1684673,"avatar_url":"https://avatars.githubusercontent.com/u/1684673?v=3","gravatar_id":"","url":"https://api.github.com/users/rumyantseva","html_url":"https://github.com/rumyantseva","followers_url":"https://api.github.com/users/rumyantseva/followers","following_url":"https://api.github.com/users/rumyantseva/following{/other_user}","gists_url":"https://api.github.com/users/rumyantseva/gists{/gist_id}","starred_url":"https://api.github.com/users/rumyantseva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rumyantseva/subscriptions","organizations_url":"https://api.github.com/users/rumyantseva/orgs","repos_url":"https://api.github.com/users/rumyantseva/repos","events_url":"https://api.github.com/users/rumyantseva/events{/privacy}","received_events_url":"https://api.github.com/users/rumyantseva/received_events","type":"User","site_admin":false},"body":"> Когда переменная объявляется без явного указания типа (используя как короткий синтаксис `:=` так и `var`=`), тип переменной выводится из значения выражения с правой стороны. \r\n\r\nПочему опять \"выводится\", а не \"подразумевается\"?\r\n\r\n\r\n> (используя как короткий синтаксис `:=` так и `var`=`)\r\n\r\n(с использованием как короткого синтаксиса`:=`, так и `var`=`)\r\n\r\n_там переменная в пассивном залоге, не совсем понятно, к кому оборот \"используя\" относится._","created_at":"2016-09-11T17:21:08Z","updated_at":"2016-09-11T17:21:08Z","html_url":"https://github.com/golang-ru/tour/pull/6#discussion_r78298841","pull_request_url":"https://api.github.com/repos/golang-ru/tour/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/golang-ru/tour/pulls/comments/78298841"},"html":{"href":"https://github.com/golang-ru/tour/pull/6#discussion_r78298841"},"pull_request":{"href":"https://api.github.com/repos/golang-ru/tour/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/golang-ru/tour/pulls/6","id":84790144,"html_url":"https://github.com/golang-ru/tour/pull/6","diff_url":"https://github.com/golang-ru/tour/pull/6.diff","patch_url":"https://github.com/golang-ru/tour/pull/6.patch","issue_url":"https://api.github.com/repos/golang-ru/tour/issues/6","number":6,"state":"open","locked":false,"title":"Translate basics.article, issue #2","user":{"login":"m0sth8","id":470078,"avatar_url":"https://avatars.githubusercontent.com/u/470078?v=3","gravatar_id":"","url":"https://api.github.com/users/m0sth8","html_url":"https://github.com/m0sth8","followers_url":"https://api.github.com/users/m0sth8/followers","following_url":"https://api.github.com/users/m0sth8/following{/other_user}","gists_url":"https://api.github.com/users/m0sth8/gists{/gist_id}","starred_url":"https://api.github.com/users/m0sth8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0sth8/subscriptions","organizations_url":"https://api.github.com/users/m0sth8/orgs","repos_url":"https://api.github.com/users/m0sth8/repos","events_url":"https://api.github.com/users/m0sth8/events{/privacy}","received_events_url":"https://api.github.com/users/m0sth8/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-11T15:59:06Z","updated_at":"2016-09-11T17:21:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39f23fa7accc38481741a2684e9cc0b17eafe1dd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/golang-ru/tour/pulls/6/commits","review_comments_url":"https://api.github.com/repos/golang-ru/tour/pulls/6/comments","review_comment_url":"https://api.github.com/repos/golang-ru/tour/pulls/comments{/number}","comments_url":"https://api.github.com/repos/golang-ru/tour/issues/6/comments","statuses_url":"https://api.github.com/repos/golang-ru/tour/statuses/fc50e2609db88a72edabd4ff33decf1266f8afc1","head":{"label":"m0sth8:basic-page","ref":"basic-page","sha":"fc50e2609db88a72edabd4ff33decf1266f8afc1","user":{"login":"m0sth8","id":470078,"avatar_url":"https://avatars.githubusercontent.com/u/470078?v=3","gravatar_id":"","url":"https://api.github.com/users/m0sth8","html_url":"https://github.com/m0sth8","followers_url":"https://api.github.com/users/m0sth8/followers","following_url":"https://api.github.com/users/m0sth8/following{/other_user}","gists_url":"https://api.github.com/users/m0sth8/gists{/gist_id}","starred_url":"https://api.github.com/users/m0sth8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0sth8/subscriptions","organizations_url":"https://api.github.com/users/m0sth8/orgs","repos_url":"https://api.github.com/users/m0sth8/repos","events_url":"https://api.github.com/users/m0sth8/events{/privacy}","received_events_url":"https://api.github.com/users/m0sth8/received_events","type":"User","site_admin":false},"repo":{"id":67366074,"name":"tour","full_name":"m0sth8/tour","owner":{"login":"m0sth8","id":470078,"avatar_url":"https://avatars.githubusercontent.com/u/470078?v=3","gravatar_id":"","url":"https://api.github.com/users/m0sth8","html_url":"https://github.com/m0sth8","followers_url":"https://api.github.com/users/m0sth8/followers","following_url":"https://api.github.com/users/m0sth8/following{/other_user}","gists_url":"https://api.github.com/users/m0sth8/gists{/gist_id}","starred_url":"https://api.github.com/users/m0sth8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0sth8/subscriptions","organizations_url":"https://api.github.com/users/m0sth8/orgs","repos_url":"https://api.github.com/users/m0sth8/repos","events_url":"https://api.github.com/users/m0sth8/events{/privacy}","received_events_url":"https://api.github.com/users/m0sth8/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m0sth8/tour","description":"[mirror] A Tour of Go","fork":true,"url":"https://api.github.com/repos/m0sth8/tour","forks_url":"https://api.github.com/repos/m0sth8/tour/forks","keys_url":"https://api.github.com/repos/m0sth8/tour/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m0sth8/tour/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m0sth8/tour/teams","hooks_url":"https://api.github.com/repos/m0sth8/tour/hooks","issue_events_url":"https://api.github.com/repos/m0sth8/tour/issues/events{/number}","events_url":"https://api.github.com/repos/m0sth8/tour/events","assignees_url":"https://api.github.com/repos/m0sth8/tour/assignees{/user}","branches_url":"https://api.github.com/repos/m0sth8/tour/branches{/branch}","tags_url":"https://api.github.com/repos/m0sth8/tour/tags","blobs_url":"https://api.github.com/repos/m0sth8/tour/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m0sth8/tour/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m0sth8/tour/git/refs{/sha}","trees_url":"https://api.github.com/repos/m0sth8/tour/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m0sth8/tour/statuses/{sha}","languages_url":"https://api.github.com/repos/m0sth8/tour/languages","stargazers_url":"https://api.github.com/repos/m0sth8/tour/stargazers","contributors_url":"https://api.github.com/repos/m0sth8/tour/contributors","subscribers_url":"https://api.github.com/repos/m0sth8/tour/subscribers","subscription_url":"https://api.github.com/repos/m0sth8/tour/subscription","commits_url":"https://api.github.com/repos/m0sth8/tour/commits{/sha}","git_commits_url":"https://api.github.com/repos/m0sth8/tour/git/commits{/sha}","comments_url":"https://api.github.com/repos/m0sth8/tour/comments{/number}","issue_comment_url":"https://api.github.com/repos/m0sth8/tour/issues/comments{/number}","contents_url":"https://api.github.com/repos/m0sth8/tour/contents/{+path}","compare_url":"https://api.github.com/repos/m0sth8/tour/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m0sth8/tour/merges","archive_url":"https://api.github.com/repos/m0sth8/tour/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m0sth8/tour/downloads","issues_url":"https://api.github.com/repos/m0sth8/tour/issues{/number}","pulls_url":"https://api.github.com/repos/m0sth8/tour/pulls{/number}","milestones_url":"https://api.github.com/repos/m0sth8/tour/milestones{/number}","notifications_url":"https://api.github.com/repos/m0sth8/tour/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m0sth8/tour/labels{/name}","releases_url":"https://api.github.com/repos/m0sth8/tour/releases{/id}","deployments_url":"https://api.github.com/repos/m0sth8/tour/deployments","created_at":"2016-09-04T20:13:23Z","updated_at":"2016-09-04T20:13:25Z","pushed_at":"2016-09-11T15:58:29Z","git_url":"git://github.com/m0sth8/tour.git","ssh_url":"git@github.com:m0sth8/tour.git","clone_url":"https://github.com/m0sth8/tour.git","svn_url":"https://github.com/m0sth8/tour","homepage":"","size":784,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"golang-ru:master","ref":"master","sha":"cbc532b773dc2797503cd46dcc3f4891e16ecec6","user":{"login":"golang-ru","id":17216013,"avatar_url":"https://avatars.githubusercontent.com/u/17216013?v=3","gravatar_id":"","url":"https://api.github.com/users/golang-ru","html_url":"https://github.com/golang-ru","followers_url":"https://api.github.com/users/golang-ru/followers","following_url":"https://api.github.com/users/golang-ru/following{/other_user}","gists_url":"https://api.github.com/users/golang-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/golang-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golang-ru/subscriptions","organizations_url":"https://api.github.com/users/golang-ru/orgs","repos_url":"https://api.github.com/users/golang-ru/repos","events_url":"https://api.github.com/users/golang-ru/events{/privacy}","received_events_url":"https://api.github.com/users/golang-ru/received_events","type":"Organization","site_admin":false},"repo":{"id":64542490,"name":"tour","full_name":"golang-ru/tour","owner":{"login":"golang-ru","id":17216013,"avatar_url":"https://avatars.githubusercontent.com/u/17216013?v=3","gravatar_id":"","url":"https://api.github.com/users/golang-ru","html_url":"https://github.com/golang-ru","followers_url":"https://api.github.com/users/golang-ru/followers","following_url":"https://api.github.com/users/golang-ru/following{/other_user}","gists_url":"https://api.github.com/users/golang-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/golang-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golang-ru/subscriptions","organizations_url":"https://api.github.com/users/golang-ru/orgs","repos_url":"https://api.github.com/users/golang-ru/repos","events_url":"https://api.github.com/users/golang-ru/events{/privacy}","received_events_url":"https://api.github.com/users/golang-ru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/golang-ru/tour","description":"[mirror] A Tour of Go","fork":true,"url":"https://api.github.com/repos/golang-ru/tour","forks_url":"https://api.github.com/repos/golang-ru/tour/forks","keys_url":"https://api.github.com/repos/golang-ru/tour/keys{/key_id}","collaborators_url":"https://api.github.com/repos/golang-ru/tour/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/golang-ru/tour/teams","hooks_url":"https://api.github.com/repos/golang-ru/tour/hooks","issue_events_url":"https://api.github.com/repos/golang-ru/tour/issues/events{/number}","events_url":"https://api.github.com/repos/golang-ru/tour/events","assignees_url":"https://api.github.com/repos/golang-ru/tour/assignees{/user}","branches_url":"https://api.github.com/repos/golang-ru/tour/branches{/branch}","tags_url":"https://api.github.com/repos/golang-ru/tour/tags","blobs_url":"https://api.github.com/repos/golang-ru/tour/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/golang-ru/tour/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/golang-ru/tour/git/refs{/sha}","trees_url":"https://api.github.com/repos/golang-ru/tour/git/trees{/sha}","statuses_url":"https://api.github.com/repos/golang-ru/tour/statuses/{sha}","languages_url":"https://api.github.com/repos/golang-ru/tour/languages","stargazers_url":"https://api.github.com/repos/golang-ru/tour/stargazers","contributors_url":"https://api.github.com/repos/golang-ru/tour/contributors","subscribers_url":"https://api.github.com/repos/golang-ru/tour/subscribers","subscription_url":"https://api.github.com/repos/golang-ru/tour/subscription","commits_url":"https://api.github.com/repos/golang-ru/tour/commits{/sha}","git_commits_url":"https://api.github.com/repos/golang-ru/tour/git/commits{/sha}","comments_url":"https://api.github.com/repos/golang-ru/tour/comments{/number}","issue_comment_url":"https://api.github.com/repos/golang-ru/tour/issues/comments{/number}","contents_url":"https://api.github.com/repos/golang-ru/tour/contents/{+path}","compare_url":"https://api.github.com/repos/golang-ru/tour/compare/{base}...{head}","merges_url":"https://api.github.com/repos/golang-ru/tour/merges","archive_url":"https://api.github.com/repos/golang-ru/tour/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/golang-ru/tour/downloads","issues_url":"https://api.github.com/repos/golang-ru/tour/issues{/number}","pulls_url":"https://api.github.com/repos/golang-ru/tour/pulls{/number}","milestones_url":"https://api.github.com/repos/golang-ru/tour/milestones{/number}","notifications_url":"https://api.github.com/repos/golang-ru/tour/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/golang-ru/tour/labels{/name}","releases_url":"https://api.github.com/repos/golang-ru/tour/releases{/id}","deployments_url":"https://api.github.com/repos/golang-ru/tour/deployments","created_at":"2016-07-30T12:11:44Z","updated_at":"2016-09-06T19:52:16Z","pushed_at":"2016-09-11T15:59:07Z","git_url":"git://github.com/golang-ru/tour.git","ssh_url":"git@github.com:golang-ru/tour.git","clone_url":"https://github.com/golang-ru/tour.git","svn_url":"https://github.com/golang-ru/tour","homepage":"","size":784,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/golang-ru/tour/pulls/6"},"html":{"href":"https://github.com/golang-ru/tour/pull/6"},"issue":{"href":"https://api.github.com/repos/golang-ru/tour/issues/6"},"comments":{"href":"https://api.github.com/repos/golang-ru/tour/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/golang-ru/tour/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/golang-ru/tour/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/golang-ru/tour/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/golang-ru/tour/statuses/fc50e2609db88a72edabd4ff33decf1266f8afc1"}}}}
{"actor":{"display_login":"rumyantseva"}}