This is mainly to convert the JSON examples from the Go client page into testable examples in the client repo. However, it also gives examples for adding options to a query and running an aggregation query. This brings the page in line with the NRedisStack JSON examples.
Note that the Go doc page needs some extra text to go around the new examples. I'll add them to the docs when this PR is accepted.
DOC-4345
This is mainly to convert the JSON examples from the Go client page into testable examples in the client repo. However, it also gives examples for adding options to a query and running an aggregation query. This brings the page in line with the NRedisStack JSON examples.
Note that the Go doc page needs some extra text to go around the new examples. I'll add them to the docs when this PR is accepted.