This simple application can be run directly with go run hello.go, or built using go build hello.go and then run using the compiled binary:
Compiling or running directly works the same on any supported system
Running the code should produce a simple app that looks like the following. Clicking the Quit button or closing the window will exit the application:
Running Hello World on macOS