go.mod Release Gate: /vN suffix and go line check
Run it on your go.mod before you push a release tag. Every line that will break Web version (same engine, runs in your browser): https://getreadystack.com/tools/gomod-release-gate What it checks (12 rules)
Which Go versions count as supportedGo's release policy: each major release is supported until there are two newer major releases. The engine carries the release dates from go.dev/doc/devel/release: Go 1.24 (2025-02-11), Go 1.25 (2025-08-12), Go 1.26 (2026-02-10), Go 1.27 (2026-08-19). On 2026-09-30 that means Go 1.26 and Go 1.27 are supported, and Go 1.25 stopped getting security fixes on 2026-08-19. A ExampleThe sample go.mod in this repository gives 6 findings:
The fixed go.mod gives 0 findings. UseOpen a go.mod and run go.mod Release Gate: Check this file from the command palette. Findings appear in the Problems panel with the line number and the replacement line. Nothing leaves your machine. Free and full versionFree: every finding with its line and fix, in VS Code and in the web version, with no key. Full version: a dated release-gate report for each tag with the go.dev rule cited next to every line, and a CI exit code that stops the tag when a finding is left. One licence key per person or team seat. Full version: https://getreadystack.com/api/buy/cl/polar_cl_Vk28qbhg6Ft9bHizvz8BRLb1VkQXEjCJeBgD10M4Lf5 YardstickTracking down a rejected v2 tag by hand usually costs a maintainer an hour or more; one hour of a software developer at the US median wage is $65.38 (BLS OEWS, May 2025, occupation 15-1252). Why not ask a chatbotA chatbot answers from its training data, so it often names Go versions that are already out of support. This extension reads your file line by line against the dated release table above. Licence: see LICENSE.txt. |
