Site icon FahmidasClassroom

Introduction to Go Programming


The full form of Go programming is Go language or Golang which is developed by google engineers. It is developed based on the C programming language. It is an open-source programming language. So, it is free to use. The advantages and disadvantages of this programming language and the way of installing it on Windows have been explained in this tutorial.

Advantages of Go language:

Disadvantages of the Go language:

Install Go language on Windows:

  1. Download the installer of Go language for Windows by opening the following URL.
  2. Click on the installer file and install the Go language in your desired location.
  3. Open the command prompt and run the following command to check the installed version of the Go language.
    go version
  4. Create a file named first.go with the following code in a particular location to print a simple message.
              package main
              import "fmt"
              func main() {
                  fmt.Println("Welcome to fahmidasclassroom")
  5. Run the following command from the command prompt to execute the code. Here, the full path of the source code has been mentioned in the command. If you save the path of the source code in the environment variable you can mention the filename only.
  6. go run d:\go\first.go
  7. Now, you are ready to start programming by using the Go language. Good luck.
Exit mobile version