Build amazing GUI’s with Go (Golang)

Manpreet Singh
2 min readSep 28, 2021

Welcome back! As most of you know, Go is an awesome programming language for building GUI’s, and there are tons of libraries for building GUI’s, so let’s talk about another awesome library that allows you to build out front-ends with Go. The specific package we’ll be using is GoVCL, if you want to jump straight to their GitHub page, check out the link below:

If you want to install this library, you want to use this go get command:

go get -u github.com/ying32/govcl

At this point, you can write some code to develop out your front-end, their GitHub page has the following example:

package main


import (
// Do not reference this package if you use custom syso files
_ "github.com/ying32/govcl/pkgs/winappres"
"github.com/ying32/govcl/vcl"
)

type TMainForm struct {
*vcl.TForm
Btn1 *vcl.TButton
}

type TAboutForm struct {
*vcl.TForm
Btn1 *vcl.TButton
}

var (
mainForm *TMainForm
aboutForm *TAboutForm
)

func main() {
vcl.Application.Initialize()
vcl.Application.SetMainFormOnTaskBar(true)…

--

--