From 64edc82c13a4d03989e4decdf6d1a1d47dea1403 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 18 Mar 2025 21:58:19 +0000 Subject: [PATCH 1/3] Update module github.com/theopenlane/utils to v0.4.4 --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 444911c..120cc75 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/felixge/httpsnoop v1.0.4 github.com/google/go-querystring v1.1.0 github.com/stretchr/testify v1.10.0 - github.com/theopenlane/utils v0.4.3 + github.com/theopenlane/utils v0.4.4 ) diff --git a/go.sum b/go.sum index 2f6b4ae..12cb9ab 100644 --- a/go.sum +++ b/go.sum @@ -15,8 +15,8 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/theopenlane/echox v0.2.1 h1:ZhVkimmWxpKITf67oM57SrLWeIdnV8+dNXlC+VzlRaQ= github.com/theopenlane/echox v0.2.1/go.mod h1:4j/Hx0uoLk5gVzdA83Qqz7xBEmqpoEP+OnzVaw2p6/o= -github.com/theopenlane/utils v0.4.3 h1:0ZSqUzbbQt7lczLTIXlbYXOwLuKuQns//L2AHQOZdis= -github.com/theopenlane/utils v0.4.3/go.mod h1:UTzPMpvyCu35eGium50H7KroHU0+2mh1lMOYTb4Vi70= +github.com/theopenlane/utils v0.4.4 h1:4Xb2T+4bjMtf4OL73bWQ1a8zllTt43ryVflRzVaUgmU= +github.com/theopenlane/utils v0.4.4/go.mod h1:lNzPjqQoDM5565s5FRqkmBGO77twAkY3Hxgd38ESo6I= go.uber.org/mock v0.5.0 h1:KAMbZvZPyBPWgD14IrIQ38QCyjwpvVVV6K/bHl1IwQU= go.uber.org/mock v0.5.0/go.mod h1:ge71pBPLYDk7QIi1LupWxdAykm7KIEFchiOqd6z7qMM= golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= From 5f683383b5e24fad8ffa40f918b7ea785d0316df Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Tue, 18 Mar 2025 16:21:05 -0600 Subject: [PATCH 2/3] fix tests Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- httptestutil/inspector_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httptestutil/inspector_test.go b/httptestutil/inspector_test.go index 93818a7..3dae31f 100644 --- a/httptestutil/inspector_test.go +++ b/httptestutil/inspector_test.go @@ -207,7 +207,7 @@ func TestInspectNilhandler(t *testing.T) { require.NotNil(t, i.LastExchange()) } -func ExampleInspectorNextExchange() { +func ExampleInspector_NextExchange() { i := NewInspector(0) var h http.Handler = http.HandlerFunc(func(writer http.ResponseWriter, request *http.Request) { @@ -232,7 +232,7 @@ func ExampleInspectorNextExchange() { // } -func ExampleInspectorLastExchange() { +func ExampleInspector_LastExchange() { i := NewInspector(0) var h http.Handler = http.HandlerFunc(func(writer http.ResponseWriter, request *http.Request) { From 76343a3bd388b1f9d10d8cab390981b77ff596f0 Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Tue, 18 Mar 2025 16:24:18 -0600 Subject: [PATCH 3/3] deps: go 1.24.1 Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 120cc75..1f960fa 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/theopenlane/httpsling -go 1.23.5 +go 1.24.1 require ( github.com/felixge/httpsnoop v1.0.4