Skip to content

Commit

Permalink
Update go/api/base_client.go
Browse files Browse the repository at this point in the history
Co-authored-by: Edward Liang <[email protected]>
Signed-off-by: Joseph Brinkman <[email protected]>
  • Loading branch information
jbrinkman and edlng authored Feb 10, 2025
1 parent 41679cf commit b9498a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/api/base_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5048,7 +5048,7 @@ func (client *baseClient) SortReadOnly(key string) ([]Result[string], error) {
//
// An Array of sorted elements.
//
// [valkey.io]: https://valkey.io/commands/sort/
// [valkey.io]: https://valkey.io/commands/sort_ro/
func (client *baseClient) SortReadOnlyWithOptions(key string, options *options.SortOptions) ([]Result[string], error) {
optionArgs := options.ToArgs()
result, err := client.executeCommand(C.SortReadOnly, append([]string{key}, optionArgs...))
Expand Down

0 comments on commit b9498a9

Please sign in to comment.