Skip to content

Files

Latest commit

 

History

History

go

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Fetch cat facts

Fetch random cat facts from a very unreliable API that frequently fails with 500.

Setup

Setup Dispatch

Install the Dispatch CLI:

brew tap dispatchrun/dispatch
brew install dispatch

For other ways to install, see the Dispatch CLI README.

Login to Dispatch, or create a free account:

dispatch login

Run example

Start the application via the following command:

dispatch run -- go run main.go

Note that requests to cat facts API may fail, but Dispatch automatically retries until successful response.