diff --git a/examples/for/for.sh b/examples/for/for.sh index 12785eb..ec29bb2 100644 --- a/examples/for/for.sh +++ b/examples/for/for.sh @@ -10,6 +10,6 @@ loop 3 5 -# We'll see some other `for` forms later when we look at -# `range` statements, channels, and other data -# structures. +# Мы увидим некоторые другие записи `for` позже, +# когда рассмотрим оператор `range`, каналы и другие +# структуры данных. diff --git a/examples/if-else/if-else.sh b/examples/if-else/if-else.sh index 13c363f..3e40f96 100644 --- a/examples/if-else/if-else.sh +++ b/examples/if-else/if-else.sh @@ -3,6 +3,6 @@ $ go run if-else.go 8 is divisible by 4 9 has 1 digit -# There is no [ternary if](http://en.wikipedia.org/wiki/%3F:) -# in Go, so you'll need to use a full `if` statement even -# for basic conditions. +# В Go нет [тернарного if](http://en.wikipedia.org/wiki/%3F:), +# поэтому вам нужно использовать полный оператор if +# даже для базовых условий.