Documentation
¶
Index ¶
Constants ¶
View Source
const MinimumGoVersion = "1.25"
Variables ¶
This section is empty.
Functions ¶
func CheckGoVersion ¶
func CheckGoVersion() error
CheckGoVersion verifies that the system's installed Go version meets the minimum requirement. Returns an error if Go is not installed or version is too old.
func CheckMinimumGoVersion ¶
CheckMinimumGoVersion checks if the system's installed Go version meets the specified minimum. The minimum should be in the format "1.25" (major.minor).
Types ¶
type GoNotFoundError ¶
type GoNotFoundError struct{}
GoNotFoundError represents an error when Go is not installed.
func (*GoNotFoundError) Error ¶
func (e *GoNotFoundError) Error() string
type VersionError ¶
VersionError represents an error when the Go version is too old.
func (*VersionError) Error ¶
func (e *VersionError) Error() string
Click to show internal directories.
Click to hide internal directories.