diff --git a/README.md b/README.md index f26a896..75ac75c 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ To set a value you must open a read/write transaction: ```go err := db.Update(func(tx *buntdb.Tx) error { - err := tx.Set("mykey", "myvalue", nil) + _, _, err := tx.Set("mykey", "myvalue", nil) return err }) ```