Files
learngo/24-structs/exercises
Firas Khalil Khana 27c12b9b58 Capitalize i
2021-06-08 11:19:26 +03:00
..
2019-10-30 19:41:13 +03:00
2019-10-30 19:41:13 +03:00
2021-06-08 11:19:26 +03:00
2021-06-08 11:19:26 +03:00
2021-06-08 11:19:26 +03:00

Struct Exercises

You'll build a queryable command-line game store.

  1. Warm Up

    Load up the data into the game store.

  2. List

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

  3. Query By Id

    Add a new command: "id". So the users can query the games by id.

  4. Encode

    Add a new command: "save". Encode the games to json, and print it, then terminate the loop.

  5. Decode

    Load the initial data to the game store from json.