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

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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