Update README.md

This commit is contained in:
James Mills 2019-09-22 21:26:52 +10:00 committed by GitHub
parent 16a7feb603
commit 42c2b810bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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