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

The package path of the official website documentation is wrong #2057

Open
wenxuan70 opened this issue Oct 26, 2023 · 2 comments
Open

The package path of the official website documentation is wrong #2057

wenxuan70 opened this issue Oct 26, 2023 · 2 comments

Comments

@wenxuan70
Copy link

image

Trying this in my terminal gives me the following result:
image

The correct operation should be: go get -u github.com/spf13/cobra@latest

@willbeason
Copy link

For reference, the URL is: https://cobra.dev/#install

It looks like the website code is stored in a different repository, here: https://github.com/spf13/cobra.dev/blob/master/content/home/install.md

willbeason added a commit to willbeason/cobra.dev that referenced this issue Nov 9, 2023
With updates to the go CLI, the required target has changed. This commit modifies the command to be the one that works now.

Fixes: spf13/cobra#2057
@wenxuan70
Copy link
Author

👍

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.

2 participants