Go Upgrade
Required version
Section titled “Required version”MCP-Go-MSSQL requires Go 1.26.0 or later.
Check current version
Section titled “Check current version”go versionUpgrade Go
Section titled “Upgrade Go”Windows
Section titled “Windows”Download the installer from go.dev/dl and run the .msi.
# Download (adjust version)wget https://go.dev/dl/go1.25.0.linux-amd64.tar.gz
# Installsudo rm -rf /usr/local/gosudo tar -C /usr/local -xzf go1.25.0.linux-amd64.tar.gzbrew upgrade goAfter upgrading
Section titled “After upgrading”# Verifygo version
# Update dependenciesgo mod tidy
# Buildgo build
# Run testsgo test ./...Compatibility
Section titled “Compatibility”- The
go.modfile specifies the minimum Go version - Dependencies are managed automatically with Go modules
- The
go-mssqldbdriver is compatible with Go 1.26+