Run

The hello world app that was built in the last step can be executed in two ways: either by running it from the command line, or by clicking the icon from the file manager:

The hello app icon

You should see an icon like the preceding one in your file manager in the current directory. Alternatively, return to the command prompt and simply enter the hello.exe command from the project directory. Using either method, you should now see this app running on your desktop (you may need to hunt as it's a very small window):

A Walk-based Hello World ...

Get Hands-On GUI Application Development in Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.