Future/promise pattern examples in Go