<p>I'm looking to start building go project and decided to go with some gui application. So far I've found a package built on top of libui which seems to be written in native go (no html/css based stuffs), called ui. Wanna know if there's something better.</p>
<hr/>**评论:**<br/><br/>emdeka87: <pre><p><a href="https://github.com/shibukawa/nanogui-go" rel="nofollow">https://github.com/shibukawa/nanogui-go</a></p></pre>shovelpost: <pre><blockquote>
<p>I'm looking to start building go project and decided to go with some gui application</p>
</blockquote>
<p>I am going to approach this differently. Is this an arbitrary decision? Does the project have any specific requirement that forces it to use a GUI?</p>
<p>If it doesn't, I think you'll be better off using HTML/CSS stuffs. As soon as you introduce C in your project, you can kiss many of Go's advantages goodbye, including the easy cross compiling and delivering a single binary. Of course if you do not care about that stuff and you really dislike Javascript, sure you can go for a GUI.</p>
<p>That said, no matter what you choose for the frontend, I still think the best you can do is to separate the backend stuff and have it be pure Go. Then the frontend can be Go+C madness or Javascript madness. That way, you keep the madness in one place and then you can pick your poison.</p></pre>shark1337: <pre><p>Lol, I'm a node js developer right now, I don't dislike javascript, I just wanna use native go code ;). I might be switching to c++, do you know a good c++ gui library?</p></pre>JackOhBlades: <pre><p>Qt5?</p></pre>JRMWarfare: <pre><p>WxGo is apparently pretty good. I haven't used it myself, but there was a thread a couple weeks ago about it. Don't have the link on hand (on my phone) but you can find it via Google pretty easily.</p></pre>JackOhBlades: <pre><p>If you look at <a href="https://github.com/avelino/awesome-go/blob/master/README.md" rel="nofollow">"awesome go"</a> on GitHub there is a GUI section. </p>
<p>There's a really cool lib <a href="https://github.com/murlokswarm/app" rel="nofollow">app</a> for building apps in Go/HTML/CSS, pure Go, no JavaScript. There's only a mac driver for it at the moment, with windows and Linux in the works. </p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传