Skip to content

go get link seems wrong #1958

@m-kuzmin

Description

@m-kuzmin

Here is the install command on the website:

go get -u github.com/spf13/cobra/cobra
                                ~~~~~~

But that wont work because:

go: downloading github.com/spf13/cobra v1.7.0
go: module github.com/spf13/cobra@upgrade found (v1.7.0), but does not contain package github.com/spf13/cobra/cobra

Removing the /cobra at the end fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions