A goroutine is a lightweight thread. This post shows how to invoke a function in a new goroutine by prefixing the call with the keyword `go`.
Goroutines
Ruby Conditionals: if, else, elseif and unless
Conditionals in Ruby: the `if` statement, the modifier form, and conditionals as expressions rather than statements.
Interfaces
There is no inheritance in Go, but there are interfaces: any type having the same methods satisfies the interface.
Functions
Functions in Go are first class citizens. This post covers functions with multiple results, higher-order functions, variadic functions and defer.
Methods
How to create a simple type with a method in Go, using an `account` type with an `add` method.
Pimp My Library Pattern
Pimp my Library is a term coined by Martin Odersky for enriching types you might not own. This post shows how to do something similar in Go.
Error Handling and Recovery
In Go, functions may return multiple values and by convention the last result is an error or an error indicator. This post covers error handling, panic and recovery.
Collections
An introduction to Go collections: arrays, slices and maps, how to iterate through them, add elements, and form a set using map keys.
Commandline Arguments and Flags
How Go handles commandline arguments and flags, including generated help messages, default values and flags of more complex data types.
Type, Struct, Type Embedding and Constants
In Go, `type` is not a type alias: the new type is not compatible, assignable or comparable to the original type.