Documentation ¶
Overview ¶
The demo will take a list of pet names and insert them into the Petstore every 1/2 a second. At the same time, starting 10 seconds after starting to add pets, another goroutine will start and begin random searching for pets in the name file. It will do this len(names) times. Because this is random, sometimes this will be an error (because the pet hasn't been added yet) and sometimes a success. The longer this goes on, the less likely there will be an error.
Click to show internal directories.
Click to hide internal directories.