Categories
Go Graphic Library My Go Tutorial

Fyne Cross-Platform GUI

Fyne is an easy to use UI toolkit and app API written in Go. It is designed to build applications that run on desktop and mobile devices with a single codebase.

https://fyne.io/

Setup the Fyne development environment

  • Go compiler installed and setup (1.16)
  • IDE – Visual Studio Code
  • C compiler installed (MSYS2 MinGW 64-bit)
  • Git Fyne

C compiler installation with MSYS2 MinGW 64-bit

The steps for installing with MSYS2 (recommended) are as follows:

  • Install MSYS2 from msys2.org
  • Once installed do not use the MSYS terminal that opens
  • Open “MSYS2 MinGW 64-bit” from the start menu
  • Execute the following commands:

$ pacman -Syu

$ pacman -S git mingw-w64-x86_64-toolchain

go get fyne.io/fyne

Resources

https://developer.fyne.io/started/