Example of using a Discovery API endpoint with golang