GoLang Hello World

Create a file 1.go with following content

package main

import "fmt"

func main() {
	fmt.Println("My First GoLang Program")
}

To run the program, use command

go run 1.go

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *