From da0b5d86c84803aed98f16624c58445c7b49535c Mon Sep 17 00:00:00 2001 From: Tomasz Rojek Date: Thu, 18 Nov 2021 13:21:24 +0100 Subject: [PATCH] Fix doc iteration --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 34a3553..32c11fe 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,7 @@ All keys/value pairs are ordered in the database by the key. To iterate over the err := db.View(func(tx *buntdb.Tx) error { err := tx.Ascend("", func(key, value string) bool { fmt.Printf("key: %s, value: %s\n", key, value) + return true // continue iteration }) return err })