Skip to content
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

tour: help on what Tick/After generate #1466

Open
crisman opened this issue Mar 18, 2023 · 0 comments · May be fixed by golang/website#219
Open

tour: help on what Tick/After generate #1466

crisman opened this issue Mar 18, 2023 · 0 comments · May be fixed by golang/website#219

Comments

@crisman
Copy link

crisman commented Mar 18, 2023

Context: https://go.dev/tour/concurrency/6

Would be nice to have a link to the time docs or explanation on what the output of time.Tick() and time.After() do.

crisman added a commit to crisman/golang_website that referenced this issue Mar 24, 2023
On the tour slide "tour/concurrency/6" ("Default Selection") the example
code in "default-selection.go" uses time.After() and time.Tick() without
any mention of what they do. A link to the time fuctions doc can provide
context to understand what those do.

Add link to time#pkg-functions on slide next to code using
time.After()/Tick().

Fixes golang/tour#1466
@crisman crisman linked a pull request Mar 24, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant