Getting Started with Golang
To execute .go file [ go run main.go]
To create and enter the project directory [go mod init]
How To Build and Install Go Program?
Step 1: Create a program main.go and initialize the go.mod file
go mod init app
Step 2: Build the program
go build
Step 3:Run the executable, On Unix systems
./app
On windows,
app.exe