finished up go api