diff --git a/go.mod b/go.mod index 444911c..1f960fa 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,12 @@ module github.com/theopenlane/httpsling -go 1.23.5 +go 1.24.1 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= 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) {