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

x/website: It looks like there's a copy paste error in the "Create a Go module" tutorial #41218

Closed
Andrew-SK opened this issue Sep 4, 2020 · 2 comments

Comments

@Andrew-SK
Copy link

@Andrew-SK Andrew-SK commented Sep 4, 2020

Create a module -- Write a small module with functions you can call from another module.
Call your code from another module -- Add simple error handling.
Return and handle an error -- Add simple error handling.
Return a random greeting -- Handle data in slices (Go's dynamically-sized arrays).

The text in the 2nd list item is a duplicate of the text in the 3rd list item.

@gopherbot
Copy link

@gopherbot gopherbot commented Sep 4, 2020

Change https://golang.org/cl/253117 mentions this issue: Fix mistake in "Create a Go module" tutorial

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Sep 4, 2020

Andrew-SK added a commit to Andrew-SK/website that referenced this issue Sep 5, 2020
The previous text appears to be referring to the next item in the
list. This updates the alt text to refer to the correct tutorial.

Fixes golang/go#41218
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.