How to Compile and Run a Go Program from Command Prompt

preview_player
Показать описание
In this tutorial you will learn how to compile and run a go program from command prompt in windows 10 operating system.

We can generate an executable file in go language by using the command
We can also give a name for the executable file generated by using -o flag

If you are interested in the output of the go program and not worried about the executable file, then we can check the output of our program by using

our Social Media Pages

Our Website

#ExampleProgram
Рекомендации по теме
Комментарии
Автор

Awesome. Great Video for beginners. Thanks

reyanshchowdary
Автор

This was amazing thank you for the excellent video!!

mka
Автор

I was wondering how does the build command work, since I always use run. Great video, thanks

Azziko
Автор

go install what are the prerequisites to execute this cmd?

kalyanchakri