How To Create A CRUD Desktop App With Golang, Fyne, and MongoDB
Here is an example that shows you how to create a data entry desktop app capable of CRUD operations using the Go language, the Fyne GUI toolkit, and the MongoDB database server.
In this article, I will show you how to create a small desktop app in which you can enter, view, update and delete contact information. I will program this app in the Go language (Golang) and use the Fyne GUI toolkit to create the user interface. The contact information will be stored in a MongoDB database collection.
Furthermore, this article is a continuation of my previous articles on Fyne and MongoDB. You’ll see concepts described in those articles and some new ideas. If you experience difficulty following the concepts of this article, then you may want to read the previous ones first.
These articles result from my conclusions based on my explorations of the Go language.
Pre-Requisites
Ensure that you have installed the Fyne package and the MongoDB drivers for Go. To build Go programs that use Fyne, you also need to have GCC installed. In addition, you’ll need to have the MongoDB server installed.