REST api in Go