// Filename hello_world.go

package main

import "fmt"

func main() {
	fmt.Println("Hello World")
}

Execute script with this command

go run hello_world.go