Andrew Gerrand 4 August 2010 Go has the usual mechanisms for control flow: if, for, switch, goto. It also has the go statement to run code in a separate goroutine. Here I’d like to discuss some of the less common ones: defer, panic, and recover. A defer statement pushes a function call onto a list. The list of saved calls is executed after the surrounding function returns. Defer is commonly used t
This post is part of a series. For a listing of all the posts, as well as instructions on running the code, see here. Turns out that despite all the shilly-shallying in the previous posts, we didn’t talk about one of Go’s most useful features, built-in concurrency implemented using go-routines and channels. Today seems like as good a day as any to give it a shot. Concurrency in Go Concurrency in G
Build a Blog Engine in Go I built a static blog generator in Go. It’s called trofaf because that’s its name. Get this: it takes markdown files, reads some YAML front matter, and generates good ol’ HTML files. I can already smell the Nobel. Anyway, the goal of this post is not to brag about the novelty of the thing, but to show how easy it is to get this done with Go’s rich standard library and som
Speak with us to find out how we can best assist you in setting up our serverless IronWorker that scales based on your needs. The Original Setup First, a little background: we built the first version of IronWorker, originally called SimpleWorker (clever name right?), with Ruby. We were a consulting company building apps for other companies and there were two really hot things at that time: Amazon
Home Documents Tutorial Effective Go FAQ Language Design FAQ Programming FAQ Tech talk (1 hour) (PDF) Language Specification Memory Model Go for C++ Programmers Programming How to install Go How to write code Command documentation Package documentation Source files The Go project Help & Community Go Blog Go Nuts mailing list #go-nuts on irc.freenode.net Issue tracker Go Wiki Go code search Last up
“Go is not meant to innovate programming theory. It’s meant to innovate programming practice.” – Samuel Tesla This site aims to collect various information and other resources about the Go programming language designed by Ken Thompson, Rob Pike and Robert Griesemer at Google. Development tools useful for Go programming. List of known library bindings. Libraries in pure Go (in progress). Other prog
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く