Go hidden gems thread

blov · · 505 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Do you know any high quality Go project or package that is basically unknown? Sometimes the author don&#39;t bother to post it on Go channels like <a href="/r/golang">/r/golang</a>. Please post it here, other gophers can find it useful.</p> <hr/>**评论:**<br/><br/>mrfrobozz: <pre><p><a href="https://github.com/42wim/matterbridge">Matterbridge</a></p> <p>It&#39;s a group chat platforms bridge. Works with Mattermost, Slack, Discord, XMPP, Telegram, IRC and tons of others. These days, everyone seems to prefer their own platform and this let&#39;s us all be on the one we want and still talk to others. </p> <p>The quality of the code is great and the dev is very responsive.</p></pre>foolano23: <pre><p>I think this is the project used by Gitea for it&#39;s Discord&lt;-&gt;Matrix bridge.</p> <p>Indeed this is an useful project.</p></pre>foolano23: <pre><p>Here some more projects:</p> <ul> <li><a href="https://github.com/mailhog/MailHog">MailHog</a> - is a fake SMTP server, useful for testing applications that send emails. E.g. you just configure the right port in your app, and you can see the sent email in a web interface;</li> <li><a href="https://github.com/akavel/rsrc">rcrs</a> - you can use this to add an icon to your apps executable. Just use proper build tags, because this file is OS specific;</li> <li><a href="https://github.com/jackc/sqlfmt">sqlfmt</a> - format SQL files (analag to gofmt). Not perfect yet but worth trying;</li> <li><a href="https://github.com/jung-kurt/gofpdf">gofpdf</a> - generate PDF files. Self-contained: don&#39;t depend on any other executable;</li> <li><a href="https://github.com/robfig/cron">cron</a> - job scheduler for apps. Launch goroutines in specific days, hours, etc. E.g. run this job on Mondays and Fridays at 21h00;</li> <li><a href="https://github.com/mattn/go-zglob">zglob</a> - easily get files that matches a glob. Supports double star syntax (<code>foo/**/*.go</code>) that stdlib doesn&#39;t supports.</li> </ul></pre>eulerfoiler: <pre><p><a href="https://github.com/yudai/gotty">GoTTY</a> has been pretty awesome. For a shell in a browser, it&#39;s extremely responsive and any hiccups I&#39;ve had using this as a TTY I&#39;ve gotten around by typing <code>export TERM=xterm</code>.</p> <p> </p> <p>At work, I&#39;ve taken the philosophy of importing external libraries extremely rarely and instead favor writing against the standard library unless that external library provides incredible value that would otherwise take entirely too long for us to roll ourselves. To that end, I find myself using <a href="https://github.com/sirupsen/logrus">Logrus</a> in all of my projects because I like the approach taken to logging and so that in the future we can hook into one of the many supported technologies to send logs to (for example: Slack, Mattermost, Discord (for home projects), and many others).</p> <p> </p> <p>I&#39;ve also recently pulled in <a href="https://labix.org/mgo">mgo</a> (pronounced mango) for a MongoDB driver and it&#39;s been working beautifully in my latest project with extremely low overhead.</p></pre>StevenTheBirdSeagull: <pre><p>gRPC + kubernetes</p></pre>

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

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