From 1975e9930ae6c1bcb2967ff7fd45ab3b8cc4bd6a Mon Sep 17 00:00:00 2001 From: ghosx Date: Mon, 24 Jun 2024 11:41:21 +0800 Subject: [PATCH] update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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