<p>I've been playing with Go for a few years now but I've never had to write a "production" app that I'd need to maintain for -hopefully- a long time.</p>
<p>Now I need to write a terminal app similar in essence to TaskWarrior and I wanted to try doing it in Go instead of my usual languages. I'd love to get some recommendations to go check some open source console based apps to learn some good practices on how to architect them.</p>
<p>Thanks!</p>
<hr/>**评论:**<br/><br/>monch0: <pre><p>Shameless plug: <a href="https://github.com/moncho/dry" rel="nofollow">https://github.com/moncho/dry</a></p>
<p>I had not previous experience with go, so it might not be what you are looking for (a good idiomatic console), but it is terminal-based tool that works and is made with go. </p>
<p><a href="https://github.com/peco/peco" rel="nofollow">https://github.com/peco/peco</a> is a really nice and useful terminal tool built with go.</p>
<p><a href="https://github.com/nsf/termbox-go" rel="nofollow">https://github.com/nsf/termbox-go</a> is a termbox implementation written in go, its README contains a list of projects that might be worth checking.</p></pre>rabinito: <pre><p>Thanks! Dry looks great, btw</p></pre>interactiv_: <pre><p>It passes go lint and go vet ? it has good code coverage with tests ? it is idiomatic. Go is bundled with a load of console apps already , including go's own compiler. They are all written in Go and are console apps. You want something idiomatic look at these ,they are written by the go team.</p></pre>dlsniper: <pre><p>Please don't give this as an advice to anyone. It's not what idiomatic means nor it will ever be. I can write horrible code that passes the above criteria.</p></pre>rabinito: <pre><p>Absolutely. But he has a good point about looking at go's own tools sources. I somehow missed that. Thanks! </p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传