3 ms·
As far as I know this was always possible since modules were introduced. You just have to prefix the version tags for Go with the subdirectory in the repo: "my/
by mseepgood 5y ago
As far as I know this was always possible since modules were introduced. You just have to prefix the version tags for Go with the subdirectory in the repo: "my/sub/directory/vX.Y.Z"
- hamburglar 5y agoI swear it didn’t always work this way, but I’m happy to be wrong.
- echlebek 5y agoThe only difference is that you are expected to tag differently. For instance if you had reporoot/hello/go.mod, you would create tags like hello/v1.2.3