You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 think
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: