3 ms·
> It requires you to physically move all code to a new folder in your version control if you want to increase the major version number That's simply not true.
by mseepgood 4y ago
> It requires you to physically move all code to a new folder in your version control if you want to increase the major version number
That's simply not true. That's only one way you can do it. Another way is to create a branch.
- tsimionescu 4y agoIt's the recommended way, but you're right it's not the only one. Still, updating your major version number is much harder than in any other version control system I've seen (since however you do it, it requires you to update every single file in your repo to point to the new module). It also complicates the relationship between git tags, go.mod file location, and location within the Git repo significantly.