Getting started Go lang in windows

Installation download golang from https://golang.org/ Just click next, next in the installation wizard. Once the installation wizard completes, go to command prompt and type go version to check whether it’s installed properly. ![](go version in command prompt.png) Write your first Go program Create a new folder wherever you want C:\goprg create a simple file under that folder C:\goprg\my.go type below code package main import "fmt" func main() { fmt.Println("Hello, World!") } Open command prompt and go to C:\goprg folder and run below command...

March 27, 2021 · 1 min · 98 words · M.Kumaran