<p>Hey guys, I've been writing Golang professionally for about three years now. I've trained people and have worked from embedded Linux through to big scaled web systems and I get similar questions over and over:</p>
<p>How should I write Golang? how do I lay it out to make <code>go get</code> work? What do I avoid? How do channels work etc? How go I use CGo to do X? </p>
<p>I figured the official Go book would've been enough but the questions still come so I wonder - what is missing from the official docs, what did you struggle with that could've been handled better and had you banging your head against the wall?</p>
<hr/>**评论:**<br/><br/>shovelpost: <pre><p>If experienced gophers stopped writing books and instead contributed to improve the official docs we would now have the best docs in the programming universe.</p></pre>DualRearWheels: <pre><p>Something reminds me of D. Bad on line docs since last decade, very frustrating to newcomers. But then a big shot (one of main devs) wrote a book on how to use it, so people could finally learn it if they cash out some $. </p>
<p>Definitely wrong way to popularize own language.</p></pre>iends: <pre><p>I really want a good book on Go concurrency, and concurrency patterns. something along the the lines of Pike's 'Concurrency Is Not Parallelism' but more depth.</p></pre>daveddev: <pre><p>Concurrency in Go
"Tools and Techniques for Developers"
By Katherine Cox-Buday</p>
<p><a href="http://shop.oreilly.com/product/mobile/0636920046189.do" rel="nofollow">http://shop.oreilly.com/product/mobile/0636920046189.do</a></p>
<p>I ran into Katherine's editor at my neighborhood market mid last year. I've not preordered it yet, but there's a solid chance it's worth picking up.</p></pre>iends: <pre><p>Nice, looks solid.</p></pre>TheRealHellcat: <pre><p>I would like a solid article about best prectices, DOs and DONTs, how to layout the structure of the application.</p></pre>snake_case-kebab-cas: <pre><p>As someone mentioned, there are already quiiiite a few books.</p>
<p>For example: <a href="https://www.packtpub.com/application-development/go-programming-blueprints" rel="nofollow">https://www.packtpub.com/application-development/go-programming-blueprints</a></p>
<p>Obviously there's room for more/better all the time, but a thorough review of what's out there would be a good place to start!</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传