From 35c6bfa829175df665e6f261ac1052ef477efb97 Mon Sep 17 00:00:00 2001 From: Ruslan Akhtariev <46343690+pysel@users.noreply.github.com> Date: Fri, 31 Mar 2023 16:34:57 +0700 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68cc0cd..f2d1e4a 100644 --- a/README.md +++ b/README.md @@ -64,8 +64,8 @@ err = log.Write(1, []byte("first entry")) err = log.Write(1000, []byte("thousandth entry")) // truncate the log from index starting 350 and ending with 950. -err = l.TruncateFront(350) -err = l.TruncateBack(950) +err = log.TruncateFront(350) +err = log.TruncateBack(950) ```