3 ms·
This is a comment on an article about Go package management, which enforces that packages a versioned with a semver-esque string.
by pgwhalen 5y ago
This is a comment on an article about Go package management, which enforces that packages a versioned with a semver-esque string.
- paskozdilar 5y agoYour point being?
- pgwhalen 5y agov1, v2, v3 are not valid module versions in Go, so it requires a slightly different solution.
- paskozdilar 5y agoIf you're not distributing your Go package to others as a library, then you don't need to follow the Go module versions. They are only enforced user-side.
- pgwhalen 5y agoTrue, though if you have code in separate repositories you might want to stick to some versioning scheme to use the module tooling to your advantage.