Golang design patterns

blov · · 419 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Could you suggest any source (article, video or tutorial) about Golang design patterns?</p> <hr/>**评论:**<br/><br/>AngryGoNerd: <pre><p>General I would first take a look here: <a href="https://golang.org/doc/effective_go.html">Effective Go</a></p> <p>Also take a look at Wiliam Kennedys excellent Go blog: <a href="https://www.goinggo.net/">goinggo.net</a></p> <p>For package layout take a look at: <a href="https://rakyll.org/style-packages/">Style guideline for Go packages</a></p> <p>If you just need some code samples take a look here: <a href="https://github.com/PacktPublishing/Go-Design-Patterns">Go-Design-Patterns</a></p></pre>robvdl: <pre><p>Also the standard package layout <a href="https://medium.com/@benbjohnson/standard-package-layout-7cdbc8391fc1" rel="nofollow">https://medium.com/@benbjohnson/standard-package-layout-7cdbc8391fc1</a></p></pre>Frakturfreund: <pre><p>You could also have a look at the <a href="https://go-proverbs.github.io/" rel="nofollow">Go Proverbs</a> (click on one to see the corresponding video). </p></pre>tonymonmaster: <pre><p>Checkout go awesome on github. They have an entire section on design patterns </p></pre>nashkara: <pre><p>A link would be helpful.</p></pre>shovelpost: <pre><p>I have no idea about the design patterns section but the link is: <a href="https://github.com/avelino/awesome-go" rel="nofollow">https://github.com/avelino/awesome-go</a></p></pre>nashkara: <pre><p>Yeah, I was easily able to find that repo as well. What I couldn&#39;t find was the mentioned section on design patterns.</p></pre>tonymonmaster: <pre><p>Sorry was on mobile at the time</p></pre>: <pre><p>[deleted]</p></pre>metamatic: <pre><p><a href="https://en.wikipedia.org/wiki/Software_design_pattern" rel="nofollow">This</a>, I assume.</p></pre>blackflicker: <pre><p>Not the design patterns but some tips and tricks here:</p> <ul> <li><p><a href="https://blog.learngoprogramming.com/code-organization-tips-with-packages-d30de0d11f46" rel="nofollow">Code organization tips for Go packages</a></p></li> <li><p><a href="https://blog.learngoprogramming.com/golang-const-type-enums-iota-bc4befd096d3" rel="nofollow">Ultimate Guide to Go enums</a></p></li> <li><p><a href="https://blog.learngoprogramming.com" rel="nofollow">Others</a></p></li> </ul></pre>

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

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