Some useful Go patterns to get you going.