Get the latest tech news

Stop picking my Go version for me


The go.mod file contains a mandatory go <version number> directive. Since Go 1.21, when a change was introduced to make this include a full patch number (1.21.0 instead of 1.21), a number of projects have started using this wrong, hurting everyone. The version is the minimum version your project can be compiled with. It is not the version you use to compile your project, but the minimum version that anyone can use to compile your project.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of version

version

Related news:

News photo

FreeCAD v1.1

News photo

Nvidia’s version of OpenClaw could solve its biggest problem: security

News photo

LibreOffice learns to speak Markdown in version 26.2