diff --git a/README.md b/README.md index 9b64c19..0d39f1e 100644 --- a/README.md +++ b/README.md @@ -31,12 +31,19 @@ err = db.Set(key, value) // key and value can be any of type // Read data var value ValueType -err = db.Get(key) +err = db.Get(key, &value) // Delete data err = db.Delete(key) ``` +Other methods: + +```go +// Flush data to disk +err = db.Flush() +``` + ## File structure Record is `encoding/gob` structure: