From cb4099f97c8ccd8b04be09e5c7044d3bec99e761 Mon Sep 17 00:00:00 2001 From: Adam Stringer Date: Thu, 27 Jul 2023 01:04:54 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3428057..2fad7c6 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ func main() { store.Save(kvs.RootOwner{}, &Balloon{Color: "RED", Size: 695}) store.Save(kvs.RootOwner{}, &Balloon{Color: "WHITE", Size: 366}) - bs, err := storage.LoadAll(store, Balloon{}, kvs.RootOwner{}) + bs, err := storage.LoadAll[Balloon](store, kvs.RootOwner{}) for rowID, balloon := range bs { fmt.Printf("ROWID: %d, %+v\n", rowID, balloon) }