From 8c446cea633323f1e9e6c673d0b73c5e712cd226 Mon Sep 17 00:00:00 2001 From: mreul Date: Tue, 11 Nov 2025 13:58:34 +0000 Subject: [PATCH] use the 1.24 toolchain --- install_mailhog_as_service.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install_mailhog_as_service.sh b/install_mailhog_as_service.sh index f2a3eff..da0f2ac 100644 --- a/install_mailhog_as_service.sh +++ b/install_mailhog_as_service.sh @@ -11,6 +11,9 @@ else echo 'ERROR: Installing golang-go NOT succesfull!' exit fi +# Force the go command to fetch & use the 1.24 toolchain +go env -w GOTOOLCHAIN=go1.24.3 +go version # should show: go1.22.0 ... +toolchain go1.24.3 (after it downloads) echo ""; echo "==================================="; echo "Installing mailhog...";