Gelio / go-global-update

A command to update globally installed go executables
MIT License
134 stars 4 forks source link

Add troubleshooting instructions for common problems #4

Closed Gelio closed 2 years ago

Gelio commented 2 years ago

There are common problems with some packages, e.g. found in #3. It would be great to have a troubleshooting guide that would make it easier to solve common problems. This could be either a Markdown document, or instructions right in the CLI output.

Common problems:

  1. Binaries built/installed from source ((devel) version, moreover command-line-arguments path for go build)

  2. cobra moved to cobra-cli

  3. gnostic and other binaries from the googleapis organization on GitHub being moved to the google organization on GitHub (organization changed)

    For example https://github.com/googleapis/gnostic moved to https://github.com/google/gnostic

  4. Using replace directives in go.mod, e.g. dive