mkdir hello
cd hello go mod init hello
hello.go
package main import "fmt" func main() { fmt.Println("Hello, world") }
go run hello.go.
Comments
Post a Comment