mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
Update README.md
This commit is contained in:
parent
16a7feb603
commit
42c2b810bf
@ -50,7 +50,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.Put("Hello", []byte("World"))
|
db.Put([]byte("Hello"), []byte("World"))
|
||||||
val, _ := db.Get("Hello")
|
val, _ := db.Get("Hello")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user