mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
Fix outdated README (#11)
This commit is contained in:
parent
43334647a6
commit
c4faac9f7c
@ -70,7 +70,7 @@ import "github.com/prologic/bitcask"
|
|||||||
func main() {
|
func main() {
|
||||||
db, _ := bitcask.Open("/tmp/db")
|
db, _ := bitcask.Open("/tmp/db")
|
||||||
defer db.Close()
|
defer db.Close()
|
||||||
db.Set("Hello", []byte("World"))
|
db.Put("Hello", []byte("World"))
|
||||||
val, _ := db.Get("hello")
|
val, _ := db.Get("hello")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user