在Debian下进行Golang图形界面开发,可选择以下主流方案,均需先安装Go环境:
Fyne
go get fyne.io/fyne/v2
。GTK+(Go-GTK)
sudo apt-get install libgtk-3-dev
+ go get github.com/mattn/go-gtk/gtk
。Qt(therecipe/qt)
sudo apt-get install qt5-default
+ go get -u github.com/therecipe/qt/cmd/...
。Web-based GUI(Lorca等)
go get github.com/zserge/lorca
。注意事项:
apt-get
安装。