Hello! Please explain step by step what to do. I have windows 7
. I need to run a program in the GO
programming language. What you need to install and configure?
Thanks a lot in advance.
1 answer
It provides you with the installer that you can install and install automatically.
- I read it and installed it, but after that I don’t know - schumakow
- what is in the section “Test your installation” - qnub
- you start the file hello.go, nothing happens, you need to install something else - schumakow
- You do not need to run the file with the go extension. It needs to be compiled. And the result will be an exe file, which is exactly what you need to run. - KoVadim
- 3This is where you need to start. Press the start button, there, in the input field, write
cmd
and wait a bit. The list will becmd shell
. and run it. Open "terrible black window with white letters." Now you need to go to the working directory. To do this, we writecd имя_каталога
, where the directory name is something likeC:\Users\пользователь\документы\папка для гоу
. If there are spaces in the path name, you need to enclose it in quotes. and click the center. The name of the working path can be copied from explorer. Everything, after that it will be possible to carry out the above-stated commands. - KoVadim
|
go
command on the command line, what do you see on the screen? - avp