TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Go by Example

392 pointsby kerckerabout 9 years ago

18 comments

dpflanabout 9 years ago
Go does have some nice, clean resources, provided by the core language group and users. I find golang.org to be quite helpful. If you&#x27;re interested in learning Go, I suggest Go&#x27;s <i>A Tour of Go</i> to start: <a href="http:&#x2F;&#x2F;tour.golang.org&#x2F;welcome&#x2F;1" rel="nofollow">http:&#x2F;&#x2F;tour.golang.org&#x2F;welcome&#x2F;1</a><p>There is a previous discussion of <i>Go by Example</i> if you want to mine the comments: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7075515" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7075515</a><p>There is also <i>Effective Go</i> for learning about, well, idiomatic Go: <a href="https:&#x2F;&#x2F;golang.org&#x2F;doc&#x2F;effective_go.html" rel="nofollow">https:&#x2F;&#x2F;golang.org&#x2F;doc&#x2F;effective_go.html</a><p>And there is a previous discussion of <i>Effective Go</i> if you want to mine the comments: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4285461" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4285461</a>
评论 #11223853 未加载
评论 #11224743 未加载
moonlighterabout 9 years ago
I can highly recommend &quot;The Go Programming Language&quot;. I find it extremely well written, and worth every penny. <a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;product&#x2F;0134190440" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;product&#x2F;0134190440</a>
评论 #11224885 未加载
评论 #11224830 未加载
评论 #11225776 未加载
paraditeabout 9 years ago
Edit: This site is great, really good for people who haven&#x27;t seen it. (Please stop downvoting me:))<p>Am I missing something here? This site is well known and I have been using it as reference for a long time.
评论 #11223696 未加载
评论 #11223496 未加载
评论 #11223488 未加载
评论 #11223802 未加载
评论 #11223652 未加载
lukasmabout 9 years ago
Really nice. I&#x27;d be better to have them in a single place, similar to <a href="http:&#x2F;&#x2F;coffeescript.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;coffeescript.org&#x2F;</a><p>Better grepablity.
评论 #11223375 未加载
pifabout 9 years ago
&gt; Go is an open source programming language designed for building <i>simple</i>, fast, and reliable software.<p>By the way, what would you use for <i>complex</i>, fast, and reliable software?
评论 #11224892 未加载
评论 #11224626 未加载
评论 #11224367 未加载
评论 #11224188 未加载
评论 #11224100 未加载
DocSavageabout 9 years ago
Note that clicking the tiny gopher icon in the upper right of the code box will launch play.golang.org with that code. That&#x27;s a good way to play with code and see results in your browser.
wooptooabout 9 years ago
Thank you so much! Was looking for exactly something like this.
评论 #11223822 未加载
VeejayRampayabout 9 years ago
Great resource for beginners. Though I&#x27;ve noticed a trend when trying to familiarize myself with languages and Golang in particular: examples tend to be too simple and I&#x27;ve found myself struggling once I tried to create more &quot;real-life&quot; things with it (similar to hello world or server examples on Node.js).<p>Though this is most likely personal&#x2F;anecdotal and the website is an invaluable resource for a beginner. Well done.
评论 #11224442 未加载
评论 #11224502 未加载
评论 #11224558 未加载
throwaway6497about 9 years ago
This is awesome! Thank you. This is especially helpful for programmers who are good at other languages and want to get a feel of go quickly over a weekend. Much easier to map the existing mental models built over-time to the new go programming semantics. Humans learn best by example and comparing the new stuff with what we already know.
评论 #11225121 未加载
andrewstuart2about 9 years ago
As an aside: Holy heck, CloudFront. 14ms! That&#x27;s like half the best RTT I get to my office right down the street.
thewhitetulipabout 9 years ago
I had recently started to write a short guide about writing webapps in Go,<p><a href="https:&#x2F;&#x2F;github.com&#x2F;thewhitetulip&#x2F;web-dev-golang-anti-textbook" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;thewhitetulip&#x2F;web-dev-golang-anti-textboo...</a>
mcintyre1994about 9 years ago
This is a really nice resource and I&#x27;ve been wanting to look at Go for a while! Could anybody point at the sort of projects that the goroutine&#x2F;channel infrastructure excels at in particular?
评论 #11225711 未加载
chuhnkabout 9 years ago
By far one of the better ways to learn the syntax of Go.
muhammadusmanabout 9 years ago
are there websites like this for other languages too? I really like the format of this.
评论 #11225932 未加载
评论 #11225783 未加载
josep2about 9 years ago
Sweet list. Thanks for posting.
mattiemassabout 9 years ago
Looks great - well done!
brianbernsabout 9 years ago
Dang, I was really hoping this was going to teach me how to play the game of Go, not how to program in the Go language.
评论 #11224029 未加载
LanguageGamerabout 9 years ago
I clicked expecting a go-the-board-game learning site.<p>I think I need to learn the rudiments of go-the-programming-language, just so I stop forgetting there&#x27;s still something to disambiguate when I see the word &#x27;Go&#x27; as a noun.