The Golang version of version v0.30.0 specifced in the mod file is a precise verson number
YanniHu1996 opened this issue · comments
huyantian commented
Hi Team,
Let's see https://github.com/kubernetes/api/blob/v0.30.0/go.mod
// This is a generated file. Do not edit directly.
module k8s.io/api
go 1.22.0
Please take into account that the Go version specified in the v0.30.0 mod file is 1.22.0. Consequently, it necessitates that any Golang modules relying on v0.30.0 must also adhere to the precise Golang version number
is it possible to use the Golang version without the patch number in later versions? For example https://github.com/kubernetes/api/blob/v0.29.4/go.mod
David Graff commented
maybe apply a little go mod edit -go=1.22 -toolchain=go1.22.0
?