Documentation ¶ Index ¶ func GetGoVersion() (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetGoVersion ¶ func GetGoVersion() (string, error) GetGoVersion reads the Go version from the go.mod file in the current directory. It returns the version string (e.g., "1.18") or an empty string if not found. Types ¶ This section is empty. Source Files ¶ View all Source files goutils.go Click to show internal directories. Click to hide internal directories.