demo

command
v0.0.0-...-3736fb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL