From 97428195254e4c9b48e36bfb6abc4c11ef60fd66 Mon Sep 17 00:00:00 2001 From: TastyHeadphones <76083688+TastyHeadphones@users.noreply.github.com> Date: Sun, 27 Sep 2026 20:55:59 +0900 Subject: [PATCH 1/2] chore: lower minimum Go version to 1.24 Nothing in the package needs 1.25 APIs (io.StringWriter has been around since 1.12). Dropping the toolchain floor lets consumers still on 1.24 upgrade httpsnoop. Fixes #37 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 2342df8..df8f13d 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/felixge/httpsnoop -go 1.25 +go 1.24 From 89e1845e5991bdceff5caf2c7a56ad787e87409d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Thu, 1 Oct 2026 20:05:24 +0300 Subject: [PATCH 2/2] ci: test Go 1.24 --- .github/workflows/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0ec9da4..fd13468 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -7,6 +7,7 @@ jobs: go: - 1.26.x - 1.25.x + - 1.24.x os: - ubuntu-latest name: ${{ matrix.os }}/go${{ matrix.go }}