How To Build a Beautiful GUI With Go
Welcome back! Go (or Golang) is a growing programming language, it seems to be gaining traction every single day, so let’s take a look at how to build out a beautiful GUI with this language! First off, we’ll be utilizing the Fyne toolkit, this is an application built entirely in Go, if you want to access their GitHub page, here is a link to it:
Starting off, you want to make sure you have Go (atleast version 1.12 or above) and a C compiler as well, once installed, you can install the Fyne library like this:
$ go get fyne.io/fyne/v2
At this point you are ready to go (no pun intended), their documentation showcases a great demo that you can run. To run this demo, run these commands in your terminal:
$ go get fyne.io/fyne/v2/cmd/fyne_demo/
$ fyne_demo
This will print out a few different examples of the features this library is embedded with: