1
0
mirror of https://github.com/taigrr/bitcask synced 2025-01-18 04:03:17 -08:00

fix example (#106)

This commit is contained in:
Steve Mynott 2019-09-27 23:08:46 +01:00 committed by James Mills
parent af8bf54962
commit 029f901bb7

View File

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