learning to build an api with golang