mirror of https://github.com/tidwall/buntdb.git
Whitespace and indentation
This commit is contained in:
parent
ddd47a11c9
commit
210a7b9c1f
|
@ -141,7 +141,7 @@ All keys/value pairs are ordered in the database by the key. To iterate over the
|
||||||
|
|
||||||
```go
|
```go
|
||||||
err := db.View(func(tx *buntdb.Tx) error {
|
err := db.View(func(tx *buntdb.Tx) error {
|
||||||
err := tx.Ascend("", func(key, value string) bool{
|
err := tx.Ascend("", func(key, value string) bool {
|
||||||
fmt.Printf("key: %s, value: %s\n", key, value)
|
fmt.Printf("key: %s, value: %s\n", key, value)
|
||||||
})
|
})
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue