Simple demo of API construction in Golang, to make callers init structs more safely