This is a simple Go application which simply prints out "Hello, world!".
- Golang v1.23.2
Running ./hello-world.go
directly:
$ go run hello-world.go
Hello, world!
Compiling ./hello-world.go
as an executable:
$ go build hello-world.go
$ ./hello-world
Hello, world!