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.

  • neither as I did not start prescribing different paths all to no avail can i do something like that a test file lies on c: \ go \ test \ helloworld.go prescribed a path in different ways then syntactic error, then the name is not correct, the system cant find the path specified - schumakow
  • prescribed this way cd <c: \ go \ test \> go run helloworld.go written access denied - schumakow
  • @schumakow, when you simply invoke the go command on the command line, what do you see on the screen? - avp
  • a lot of things are written - schumakow
  • C: \ Users \ Andrew> go Usage: go commands [arguments] commands, cleanup, cleanup, object files, gossip, google dependencies - schumakow

1 answer 1

Documentation

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
  • 3
    This is where you need to start. Press the start button, there, in the input field, write cmd and wait a bit. The list will be cmd shell . and run it. Open "terrible black window with white letters." Now you need to go to the working directory. To do this, we write cd имя_каталога , where the directory name is something like C:\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