Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tauraamui authored Jul 27, 2023
1 parent f80cf11 commit cb4099f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit cb4099f

Please sign in to comment.