Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckGoVersion ¶ added in v1.61.0
func CleanRuntimeVersion ¶ added in v1.61.0
func TrimGoVersion ¶ added in v1.61.0
TrimGoVersion Trims the Go version to keep only M.m. Since Go 1.21 the version inside the go.mod can be a patched version (ex: 1.21.0). The version can also include information which we want to remove (ex: 1.21alpha1) https://go.dev/doc/toolchain#versions This a problem with staticcheck and gocritic.
Types ¶
Click to show internal directories.
Click to hide internal directories.