go 可以开发桌面应用

go 可以开发桌面应用
go 可以开发桌面应用,但并不是很舒适。
可以使用的GUI库有:
1、goqt,LiteIDE作者出品,Go和QT的绑定,还未发布
2、go.uik,纯Go实现的并发UI工具
3、walk,Windows Application Library Kit
4、gform,Windows GUI framework
目前的话walk用得比较多
不过go的GUI库用起来没有C#、C/C++的那么顺手。
这个问题不久之后应该会有所改善,毕竟用Go开发桌面的需求在不断增加。
目前我采用的是用go http 做后端,Webkit+HTML5 做界面,表现力很好,前端不需要学习新知识,一般的管理类应用都能搞定。
https://github.com/lxn/go-winapi

gform: https://github.com/AllenDang/gform

go-iup: https://github.com/jcowgar/go-iup

go.uik: https://github.com/skelterjohn/go.uik/

walk: https://github.com/lxn/walk

go版本的socket im 源码:

https://github.com/jianfengye/MyWorks/tree/master/go_socketim

go-qml and this too: https://github.com/andlabs/ui

[–]3pence 5 points 3 months ago

upboat https://github.com/andlabs/ui

[–]scoith 1 point 3 months ago

and https://github.com/conformal/gotk3

[–]adhochawk 8 points 3 months ago

go-qml seems to be the best option - https://github.com/go-qml/qml

http://www.open-open.com/lib/view/open1396063913278.html

  • go-webkit2 - Go bindings for the WebKitGTK+ v2 API (w/headless browser & JavaScript support)
  • Gowut - Gowut (Go Web UI Toolkit) is a full-featured, easy to use, platform independent Web UI Toolkit written in pure Go, no platform dependent native code is linked or called.