Skip to content

Commit

Permalink
feat!: Change SortedSet for the new protocol buffers. (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
schwern authored and cprice404 committed Mar 14, 2023
1 parent 078ccc4 commit 7d12824
Show file tree
Hide file tree
Showing 15 changed files with 2,847 additions and 1,519 deletions.
2 changes: 1 addition & 1 deletion examples/sortedset-example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func displayElements(setName string, resp momento.SortedSetFetchResponse) {
switch r := resp.(type) {
case *momento.SortedSetFetchHit:
for _, e := range r.Elements {
fmt.Printf("setName: %s, elementName: %s, score: %f\n", setName, e.Value, e.Score)
fmt.Printf("setName: %s, value: %s, score: %f\n", setName, e.Value, e.Score)
}
fmt.Println("")
case *momento.SortedSetFetchMiss:
Expand Down
Loading

0 comments on commit 7d12824

Please sign in to comment.