1
0
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:
Whemoon Jang 2019-06-03 19:48:30 +09:00 committed by James Mills
parent 43334647a6
commit c4faac9f7c

View File

@ -70,7 +70,7 @@ import "github.com/prologic/bitcask"
func main() {
db, _ := bitcask.Open("/tmp/db")
defer db.Close()
db.Set("Hello", []byte("World"))
db.Put("Hello", []byte("World"))
val, _ := db.Get("hello")
}
```