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

Module path not following Go modules standard. #159

Open
HappyHacker123 opened this issue Oct 6, 2024 · 0 comments
Open

Module path not following Go modules standard. #159

HappyHacker123 opened this issue Oct 6, 2024 · 0 comments

Comments

@HappyHacker123
Copy link

checkup uses Go modules and the current release version is v2.0.0. And it’s module path is "github.com/sourcegraph/checkup", instead of "github.com/sourcegraph/checkup/v2". It must comply with the specification of "Releasing Modules for v2 or higher" available in the Modules documentation. Quoting the specification:

A package that has opted in to modules must include the major version in the import path to import any v2+ modules.To preserve import compatibility, the go command requires that modules with major version v2 or later use a module path with that major version as the final element. For example, version v2.0.0 of example.com/m must instead use module path example.com/m/v2.
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

No branches or pull requests

1 participant