Simple API example in go