Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 6 - CRUD puppy with interface #532

Open
undrewb opened this issue Jul 3, 2019 · 0 comments
Open

Lab 6 - CRUD puppy with interface #532

undrewb opened this issue Jul 3, 2019 · 0 comments

Comments

@undrewb
Copy link
Collaborator

undrewb commented Jul 3, 2019

Puppy's have to be stored somewhere!

Implement a Puppy struct containing ID, Breed, Colour, Value.
Create Storer interface with CRUD methods for Puppy
Write a MapStore implementation of Storer backed by a map
Write a SyncStore implementation of Storer backed by a sync.Map
Keep all implementation files in the same folder and in package main
Test against the Storer interface and run in suite with both implementations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant