From 999627cfd470e087376ff2dab90f3183b1919687 Mon Sep 17 00:00:00 2001 From: Tobias Schmid Date: Wed, 4 Nov 2015 22:45:28 +0100 Subject: [PATCH] Fix sample code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b0148f..a26699e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ if err := db.Write("fish", "onefish", fish); err != nil { // Read all fish from the database fish := []Fish{} -if err := db.Read("fish", fish); err != nil { +if err := db.Read("fish", "", fish); err != nil { } @@ -38,7 +38,7 @@ if err := db.Read("fish", "onefish", fish); err != nil { } // Delete all fish from the database -if err := db.Delete("fish"); err != nil { +if err := db.Delete("fish", ""); err != nil { }