Preview.mp4
Fyne requires 3 basic elements to be present, the Go tools, a C compiler (to connect with system graphics drivers) and an system graphics driver.
-
Download Go
-
Install C compiler for windows: TDM-GCC
-
In Windows your graphics driver will already be installed, but it is recommended to ensure they are up to date.
When using Go modules, you will need to set up the module before you can use the package.
$ cd myapp
$ go mod init MODULE_NAME
You now need to download the Fyne module. This will be done using the following command:
$ go get fyne.io/fyne/v2
If you are unsure of how Go modules work, consider reading Tutorial: Create a Go module