fyne package

One exception is the Fyne project as it aims to provide APIs for full application life cycle, and so the tools support distributing complete desktop apps across multiple platforms. While the project is still early it does have a tool that can help with application packaging (even if you've not used Fyne in your code). The fyne package command is designed to generate and package all the required metadata for an application to distribute on macOS, Linux, or Windows. Invoking with the -os <platform> parameter (using one of "darwin", "linux", or "windows") will create a fully packaged application in the current directory. Before executing this command the application should already be compiled for release.

For example, we can create ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.