Wrong package address
In the Install section, run go get -u github.com/spf13/cobra/cobra and got the error message:
go: downloading github.com/spf13/cobra v1.4.0
go: module github.com/spf13/cobra@upgrade found (v1.4.0), but does not contain package github.com/spf13/cobra/cobra
Wrong document link
In the Using the Cobra Generator section, click Here and got 404 error.
Wrong package address
In the
Installsection, rungo get -u github.com/spf13/cobra/cobraand got the error message:Wrong document link
In the
Using the Cobra Generatorsection, clickHereand got 404 error.