Any good idiomatic console based app to recommend?

xuanbao · · 445 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I&#39;ve been playing with Go for a few years now but I&#39;ve never had to write a &#34;production&#34; app that I&#39;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&#39;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&#39;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&#39;t give this as an advice to anyone. It&#39;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&#39;s own tools sources. I somehow missed that. Thanks! </p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

445 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传