mirror of
https://github.com/jeremyd/ergo.git
synced 2026-04-26 07:30:00 -07:00
upgrade buntdb
This commit is contained in:
1
vendor/github.com/tidwall/buntdb/README.md
generated
vendored
1
vendor/github.com/tidwall/buntdb/README.md
generated
vendored
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user