A sample api written in go