Golang-Basic

How to run golang program

  • At the beginning we have to install the Go extension for VS code
  • After that we have to create a file like file_name.go
  • After that we have to run the following command in current directory:

Command From Terminal

1. For running go program:
        go run file_name.go