![](/style/images/good.png)
![](/style/images/bad.png)
Go实战--使用golang开发Windows Gui桌面程序(lxn/walk)
source link: https://studygolang.com/articles/33313
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Go实战--使用golang开发Windows Gui桌面程序(lxn/walk)
wx592a7561e9493 · 2天之前 · 174 次点击 · 预计阅读时间不到 1 分钟 · 不到1分钟之前 开始浏览生命不止,继续 go go go!!!
golang官方并没有提供Windows gui库,但是今天还是要跟大家分享一下使用golang开发Windows桌面程序,当然又是面向github编程了。
知乎上有一个问答: golang为什么没有官方的gui包?
这里,主要使用第三方库lxn/walk,进行Windows GUI编程。
lxn/walk
github地址: https://github.com/lxn/walk
star: 2018
描述: A Windows GUI toolkit for the Go Programming Language
go get github.com/lxn/walk
main.go
package main
import (
有疑问加站长微信联系(非本文作者)
![280](https://static.studygolang.com/static/img/footer.png?imageView2/2/w/280)
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:1006366459
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK