Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Building GUI Applications with Fyne and Go (Golang)

via Udemy

Overview

Learn how to build fast, efficient desktop applications for Mac, Windows and Linux using Go and Fyne.

What you'll learn:
  • Learn how to build GUI applications using Go and Fyne
  • Learn how to have your application display common widgets
  • Learn how to save your application state with an embedded database
  • Learn how to have your application call resources on the internet

Many developers are intimidated by the idea of writing a desktop application, and this is probably because of the rise of web based applications. In fact, some university computer science programs do not even devote an entire course to developing GUIapplications, and that's unfortunate.

Go, sometimes referred as Golang, has quickly risen in popularity over the past decade, and has become extremely popular for building RESTAPIs, back end applications, and network software. One question that comes up a great deal online, though, is how one might go about building a desktop application using Go. For quite some time, the default answer was use Qt and CGObindings, but several years ago a new project emerged -- one that makes it relatively easy to build GUIapplications in pure Go:the Fyne project. Fyne is a project is based around the premise that it should be free and simple to develop an application that can run on all platforms without modification or adaptation. Fyne apps are installed like regular applications on all platforms and deliver great performance and solid user experience.

With Fyne, you can write your code once, in pure Go, and deliver applications that run on Mac OSX, Windows, Linux, Android devices, iOSdevices, and as WebAssembly in the browser.

This course is intended to cover the basics of building a GUIapplication in pure Go. We will cover:

Building Desktop applications:we'll build two:a MarkDown editor and an application that allows users to track (fictional)Gold investments and get real-time information on Gold prices.

We will cover:

  • How to work with the Fyne Canvas

  • How to work with Fyne Windows

  • How to use (and customize)Widgets, including dialogs, text, labels, input fields, forms, and tables

  • How to validate user input

  • How to fetch external resources from remote servers and use them in our application

  • How to use containers to arrange things in a window

  • How to embed a sqlite database into a desktop application

  • How to build custom menu items and link them to actions

  • How to read and write files from your application

  • How to read and write preferences

  • How to bundle assets (e.g. images)into a Fyne application

  • How to build a single binary with a custom icon

  • How to sign a Mac OS X application for distribution


Taught by

Trevor Sawler

Reviews

4.8 rating at Udemy based on 268 ratings

Start your review of Building GUI Applications with Fyne and Go (Golang)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.