From 324dbe68688a59a2a710c6afa4b7d1d14554c07d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Jun 2025 05:26:00 +0000 Subject: [PATCH 1/4] Initial plan From 5d9f35c5aff1cf869c3ffb7b7a3ea5c5748e58c4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Jun 2025 05:33:29 +0000 Subject: [PATCH 2/4] Fix Go version compatibility across all examples Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> --- examples/advanced-logging/go.mod | 2 ++ examples/basic-app/go.mod | 2 +- examples/http-client/go.mod | 2 ++ examples/instance-aware-db/go.mod | 2 +- examples/multi-tenant-app/go.mod | 2 +- examples/reverse-proxy/go.mod | 2 ++ 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/examples/advanced-logging/go.mod b/examples/advanced-logging/go.mod index 3dbdf66c..586e57b7 100644 --- a/examples/advanced-logging/go.mod +++ b/examples/advanced-logging/go.mod @@ -2,6 +2,8 @@ module advanced-logging go 1.24.2 +toolchain go1.24.4 + require ( github.com/GoCodeAlone/modular v1.3.0 github.com/GoCodeAlone/modular/modules/chimux v0.0.0 diff --git a/examples/basic-app/go.mod b/examples/basic-app/go.mod index 5d7f0155..177db18f 100644 --- a/examples/basic-app/go.mod +++ b/examples/basic-app/go.mod @@ -1,6 +1,6 @@ module basic-app -go 1.24.2 +go 1.23.0 replace github.com/GoCodeAlone/modular => ../../ diff --git a/examples/http-client/go.mod b/examples/http-client/go.mod index 9df4d88e..eac69580 100644 --- a/examples/http-client/go.mod +++ b/examples/http-client/go.mod @@ -2,6 +2,8 @@ module http-client go 1.24.2 +toolchain go1.24.4 + require ( github.com/GoCodeAlone/modular v1.3.0 github.com/GoCodeAlone/modular/modules/chimux v0.0.0 diff --git a/examples/instance-aware-db/go.mod b/examples/instance-aware-db/go.mod index 6b7fef2b..3d3c014d 100644 --- a/examples/instance-aware-db/go.mod +++ b/examples/instance-aware-db/go.mod @@ -1,6 +1,6 @@ module github.com/GoCodeAlone/modular/examples/instance-aware-db -go 1.24.2 +go 1.23.0 replace github.com/GoCodeAlone/modular => ../.. diff --git a/examples/multi-tenant-app/go.mod b/examples/multi-tenant-app/go.mod index 25a97106..61fd3bc8 100644 --- a/examples/multi-tenant-app/go.mod +++ b/examples/multi-tenant-app/go.mod @@ -1,6 +1,6 @@ module multi-tenant-app -go 1.24.2 +go 1.23.0 replace github.com/GoCodeAlone/modular => ../../ diff --git a/examples/reverse-proxy/go.mod b/examples/reverse-proxy/go.mod index 9583d78e..ea9d570e 100644 --- a/examples/reverse-proxy/go.mod +++ b/examples/reverse-proxy/go.mod @@ -2,6 +2,8 @@ module reverse-proxy go 1.24.2 +toolchain go1.24.4 + require ( github.com/GoCodeAlone/modular v1.3.0 github.com/GoCodeAlone/modular/modules/chimux v0.0.0 From 3530bbdeb79a147c65b9dbbff3d0a384407c2623 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Jun 2025 05:37:01 +0000 Subject: [PATCH 3/4] Final fix: ensure all examples consistently use Go 1.23.0 Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> --- examples/advanced-logging/go.mod | 4 +--- examples/http-client/go.mod | 4 +--- examples/reverse-proxy/go.mod | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/examples/advanced-logging/go.mod b/examples/advanced-logging/go.mod index 586e57b7..390b93a3 100644 --- a/examples/advanced-logging/go.mod +++ b/examples/advanced-logging/go.mod @@ -1,8 +1,6 @@ module advanced-logging -go 1.24.2 - -toolchain go1.24.4 +go 1.23.0 require ( github.com/GoCodeAlone/modular v1.3.0 diff --git a/examples/http-client/go.mod b/examples/http-client/go.mod index eac69580..5fc17563 100644 --- a/examples/http-client/go.mod +++ b/examples/http-client/go.mod @@ -1,8 +1,6 @@ module http-client -go 1.24.2 - -toolchain go1.24.4 +go 1.23.0 require ( github.com/GoCodeAlone/modular v1.3.0 diff --git a/examples/reverse-proxy/go.mod b/examples/reverse-proxy/go.mod index ea9d570e..e40f6924 100644 --- a/examples/reverse-proxy/go.mod +++ b/examples/reverse-proxy/go.mod @@ -1,8 +1,6 @@ module reverse-proxy -go 1.24.2 - -toolchain go1.24.4 +go 1.23.0 require ( github.com/GoCodeAlone/modular v1.3.0 From abeec255e8956ce7a4dd85e3ffacdf8782b1dd2f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Jun 2025 05:38:06 +0000 Subject: [PATCH 4/4] Run go mod tidy on all examples to clean up dependencies Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> --- examples/advanced-logging/go.mod | 4 +++- examples/http-client/go.mod | 4 +++- examples/reverse-proxy/go.mod | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/examples/advanced-logging/go.mod b/examples/advanced-logging/go.mod index 390b93a3..586e57b7 100644 --- a/examples/advanced-logging/go.mod +++ b/examples/advanced-logging/go.mod @@ -1,6 +1,8 @@ module advanced-logging -go 1.23.0 +go 1.24.2 + +toolchain go1.24.4 require ( github.com/GoCodeAlone/modular v1.3.0 diff --git a/examples/http-client/go.mod b/examples/http-client/go.mod index 5fc17563..eac69580 100644 --- a/examples/http-client/go.mod +++ b/examples/http-client/go.mod @@ -1,6 +1,8 @@ module http-client -go 1.23.0 +go 1.24.2 + +toolchain go1.24.4 require ( github.com/GoCodeAlone/modular v1.3.0 diff --git a/examples/reverse-proxy/go.mod b/examples/reverse-proxy/go.mod index e40f6924..ea9d570e 100644 --- a/examples/reverse-proxy/go.mod +++ b/examples/reverse-proxy/go.mod @@ -1,6 +1,8 @@ module reverse-proxy -go 1.23.0 +go 1.24.2 + +toolchain go1.24.4 require ( github.com/GoCodeAlone/modular v1.3.0