10-Command-Line-Game-Store-Project-Add-Interface

command
v0.0.0-...-228c668 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

List

Now, it's time to add an interface to our program using
the bufio.Scanner. So the users can list the games, or
search for the games by id.

1. Scan for the input in a loop (use bufio.Scanner)

2. Print the available commands.

3. Implement the quit command: Quits from the loop.

4. Implement the list command: Lists all the games.

Jump to

Keyboard shortcuts

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