hello world translate

This commit is contained in:
badkaktus 2019-10-15 14:52:36 +03:00
parent d0933fb2f8
commit 53be0ddcbf

View File

@ -1,17 +1,18 @@
# To run the program, put the code in `hello-world.go` and # Для запуска программы, добавьте код в файл `hello-world.go`
# use `go run`. # и выполните `go run`.
$ go run hello-world.go $ go run hello-world.go
hello world hello world
# Sometimes we'll want to build our programs into # Иногда необходимо собрать программу в бинарный
# binaries. We can do this using `go build`. # файл. Мы можем сделать это с помощью команды
# `go build`.
$ go build hello-world.go $ go build hello-world.go
$ ls $ ls
hello-world hello-world.go hello-world hello-world.go
# We can then execute the built binary directly. # Мы можем выполнить бинарный файл напрямую.
$ ./hello-world $ ./hello-world
hello world hello world
# Now that we can run and build basic Go programs, let's # Теперь когда мы можем запускать и собирать Go-программы,
# learn more about the language. # давайте узнаем больше об этом языке.