You missed go: go 1.24rc1 toolchain go1.24rc1
Go toolchain names¶ <https://go.dev/doc/toolchain#name> The standard Go toolchains are named go*V* where *V* is a Go version denoting a beta release, release candidate, or release. For example, go1.21rc1 and... Once you build, you can verify which version was used: go version ./your_binary https://tip.golang.org/doc/toolchain#config > If the toolchain line is omitted, the module or workspace is considered to have an implicit toolchain go*V* line, where *V* is the Go version from the go line. So you only need to use 'go 1.24rc1' line. On Thursday, December 19, 2024 at 4:30:40 AM UTC-8 cpu...@gmail.com wrote: > I'm preparing our application for go1.24, including using the tools go.mod > directive. I was expecting that I should be able to require rc1 as part of > the build process. However, adding > > go 1.24rc1 > toolchain 1.24rc1 > > lead to either > > unknown block type: tool > invalid toolchain version '1.24rc1': must match format go1.23.0 or default > > https://go.dev/doc/modules/gomod-ref does not mention RC versions, while > https://go.dev/doc/toolchain does. > > Can RC versions be required through go.mod? > > Thanks, > Andi > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/7c4d1375-6f01-4a96-83f7-2a2c0b3c4813n%40googlegroups.com.