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
missing v2 folder #135
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For repositories that provide libraries that are imported into other projects, if it needs to support multiple major versions at the same time (which is common) then the idiomatic go approach is to create a
v2
folder to put it in (with its own go.mod and go.sum)This should be referenced somewhere - possibly in the
/pkg
folder? or possibly by adding a/v2
folder to the root - as both are valid I thinksee:
https://go.dev/blog/v2-go-modules#TOC_2
The text was updated successfully, but these errors were encountered: