-
Notifications
You must be signed in to change notification settings - Fork 164
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 #537
Comments
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Jul 4, 2019
Adds the Puppy, Storer and MapStore type definitions. MapStore implements the Storer interface and supplies a NewMapStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update will return the given Puppy struct if the uuid doesn't exist - Destroy returns a bool dependent on uuid existing Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Jul 4, 2019
SyncStore implements the Storer interface and supplies a NewSyncStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update will return the given Puppy struct if the uuid doesn't exist - Destroy returns a bool dependent on uuid existing Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Jul 4, 2019
Adds the Puppy, Storer and MapStore type definitions. MapStore implements the Storer interface and supplies a NewMapStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update will return the given Puppy struct if the uuid doesn't exist - Destroy returns a bool dependent on uuid existing Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Jul 4, 2019
SyncStore implements the Storer interface and supplies a NewSyncStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update will return the given Puppy struct if the uuid doesn't exist - Destroy returns a bool dependent on uuid existing Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 19, 2019
Adds the Puppy, Storer and MapStore type definitions. MapStore implements the Storer interface and supplies a NewMapStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 19, 2019
SyncStore implements the Storer interface and supplies a NewSyncStore factory function. - Uuid increment is handled internally by SyncStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 19, 2019
Adds the Puppy, Storer and MapStore type definitions. MapStore implements the Storer interface and supplies a NewMapStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 19, 2019
SyncStore implements the Storer interface and supplies a NewSyncStore factory function. - Uuid increment is handled internally by SyncStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 19, 2019
Adds the Puppy, Storer and MapStore type definitions. MapStore implements the Storer interface and supplies a NewMapStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 19, 2019
SyncStore implements the Storer interface and supplies a NewSyncStore factory function. - Uuid increment is handled internally by SyncStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 19, 2019
Adds the Puppy, Storer and MapStore type definitions. MapStore implements the Storer interface and supplies a NewMapStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 19, 2019
SyncStore implements the Storer interface and supplies a NewSyncStore factory function. - Uuid increment is handled internally by SyncStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 25, 2019
Adds the Puppy, Storer and MapStore type definitions. MapStore implements the Storer interface and supplies a NewMapStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 25, 2019
SyncStore implements the Storer interface and supplies a NewSyncStore factory function. - Uuid increment is handled internally by SyncStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 25, 2019
Adds the Puppy, Storer and MapStore type definitions. MapStore implements the Storer interface and supplies a NewMapStore factory function. - Uuid increment is handled internally by MapStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
patrickmarabeas
added a commit
to patrickmarabeas/go-course
that referenced
this issue
Aug 25, 2019
SyncStore implements the Storer interface and supplies a NewSyncStore factory function. - Uuid increment is handled internally by SyncStore Create - Read will return an empty Puppy struct if provided uuid doesn't exist - Update returns a bool whether a matching identifier was modified - Destroy returns a bool whether a matching identifier was modified Lab 06 (anz-bank#537)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lab 6 - CRUD puppy with interface
06_puppy/USERNAME
(see hints)Puppy
struct containingID
,Breed
,Colour
,Value
Storer
interface with crud methods forPuppy
MapStore
implementation ofStorer
backed by amap
SyncStore
implementation ofStorer
backed by a sync.Mapmain
Storer
interface and run in suite with both implementationsThe text was updated successfully, but these errors were encountered: