Encountered error in executing hello world in Go

Attempted to execute " hello world" program in Go, encountered this error message: “The term go is not recognized as the name of cmdlet”


package main
import “fmt”

func main( ) {
fmt.Print (“Hello World”)

This sounds like an error Powershell would give you when go isn’t installed properly.

Is that main.go in the go file? That would be an error. Can you remove it?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.