Skip to content

DOC-5472 time series doc examples #3443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

andy-stark-redis
Copy link
Contributor

@andy-stark-redis andy-stark-redis commented Jul 23, 2025

DOC-5472

Go versions of the Python examples in the time series doc page.

Couple of things to note:

  • I've assumed that using 0 and math.MaxInt64 instead of - and + for minimum/maximum timestamps is OK (eg, line 211), but if there's a better way to specify this then let me know.
  • Some of the TSMGet/TSMRange examples return maps, so the ordering keys in nondeterministic. I've used code that's a bit more complicated than usual to print out the results in a deterministic way (eg, the example at line 438). If there's a simpler or more idiomatic way to handle this situation then I'll use that instead.

@andy-stark-redis andy-stark-redis marked this pull request as ready for review July 23, 2025 12:14
@andy-stark-redis andy-stark-redis requested a review from ndyakov July 23, 2025 12:14
@ndyakov
Copy link
Member

ndyakov commented Jul 24, 2025

Hello @andy-stark-redis , I will review this till end of week. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants