diff --git a/README.md b/README.md index da0f0d0..26c3c44 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Payload = Byte stream as long as specified by the payload size ```go func main() { - wal, _ := wal.Open(wal.DefaultOptions) + wal, _ := wal.Open() // write some data chunkPosition, _ := wal.Write([]byte("some data 1")) // read by the position