Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ericpauley
· 3y ago · 0 comments
No, it does not. Packages can compile using 1.22 and gain other benefits without opting into this change.
Comments
[–]
sixstringtheory
3y ago
Ah, I didn't see the part about //go:build
[–]
_lvbh
3y ago
Without /:go:build tags, you can just define 1.21 as your Go version in go.mod to opt out of new features while getting other benefits of the new compiler