Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ah, I didn't see the part about //go:build


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: