Hello World!
Open up your favorite editor and type the following.
Save it as main.go
main.go
package main
import "fmt"
func main() {
fmt.Println("Hello World!")
}Open up a command prompt/termainal in the same directory, and run the program using,
go run main.goLast updated on