Skip to content
Browse files

fix formatting in package overview docs

leading spaces should not exist
  • Loading branch information...
1 parent e12c0d0 commit 4a11ec78e903f4bf21d35a5e6c6b99ba386038db @jmhodges committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 doc.go
View
8 doc.go
@@ -9,9 +9,9 @@ levigo.Open() opens and creates databases.
db, err := levigo.Open("/path/to/db", opts)
*DB.Get(), .Put() and .Delete(), respectively, get the data related to a
- single key, put data for a single key into the database, and deletes data for
- a single key. Do not worry about copying the keys and values in the arguments
- and return values of these methods. LevelDB does this for you.
+single key, put data for a single key into the database, and deletes data for
+a single key. Do not worry about copying the keys and values in the arguments
+and return values of these methods. LevelDB does this for you.
ro := levigo.NewReadOptions()
wo := levigo.NewWriteOptions()
@@ -23,7 +23,7 @@ levigo.Open() opens and creates databases.
...
err = db.Delete(wo, []byte("key"))
- For bulk reads, use an Iterator. For ones that you do not want to disturb
+For bulk reads, use an Iterator. For ones that you do not want to disturb
your live traffic, be sure to call SetFillCache(false) on the ReadOptions you
use when creating the Iterator.

0 comments on commit 4a11ec7

Please sign in to comment.
Something went wrong with that request. Please try again.