Skip to content

Commit

Permalink
Merge pull request #15 from pysel/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
tidwall authored Apr 9, 2023
2 parents 0c6776f + 35c6bfa commit e70ddec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```


Expand Down

0 comments on commit e70ddec

Please sign in to comment.