mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
fix example (#106)
This commit is contained in:
parent
af8bf54962
commit
029f901bb7
@ -51,7 +51,7 @@ func main() {
|
|||||||
db, _ := bitcask.Open("/tmp/db")
|
db, _ := bitcask.Open("/tmp/db")
|
||||||
defer db.Close()
|
defer db.Close()
|
||||||
db.Put([]byte("Hello"), []byte("World"))
|
db.Put([]byte("Hello"), []byte("World"))
|
||||||
val, _ := db.Get("Hello")
|
val, _ := db.Get([]byte("Hello"))
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user