Skip to content

Commit

Permalink
Merge pull request #59 from starskey-io/starskey-42
Browse files Browse the repository at this point in the history
minor read me corrections
  • Loading branch information
guycipher authored Feb 19, 2025
2 parents 42b26d9 + 2ffd2bb commit dfe81bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ if err != nil {
### LongestPrefixSearch
You can search for the longest prefix of a key.
```go
results, n, err := skey.LongestPrefixSearch([]byte("key"))
result, n, err := skey.LongestPrefixSearch([]byte("key"))
if err != nil {
// ..handle error
}
Expand Down Expand Up @@ -189,6 +189,7 @@ if err := skey.DeleteByFilter(compareFunc); err != nil {
if n, err := skey.DeleteByPrefix([]byte("key")); err != nil {
// ..handle error
}
// n is amount of keys deleted
```

## Key Lifecycle
Expand Down

0 comments on commit dfe81bd

Please sign in to comment.