My attempt to learn golang, while writing an SDK