From b3832f4e6a2038326f41641fa4e49f00385912c0 Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:07:59 -0600 Subject: [PATCH] update echocontext import Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- auth/context.go | 2 +- auth/context_test.go | 2 +- auth/test_tools.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/auth/context.go b/auth/context.go index 3d9c663..ea8c3e3 100644 --- a/auth/context.go +++ b/auth/context.go @@ -7,7 +7,7 @@ import ( "github.com/theopenlane/utils/ulids" - "github.com/theopenlane/utils/echocontext" + "github.com/theopenlane/echox/middleware/echocontext" ) type AuthenticationType string diff --git a/auth/context_test.go b/auth/context_test.go index 6db94ec..a86a459 100644 --- a/auth/context_test.go +++ b/auth/context_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/theopenlane/utils/echocontext" + "github.com/theopenlane/echox/middleware/echocontext" "github.com/theopenlane/utils/ulids" "github.com/theopenlane/iam/auth" diff --git a/auth/test_tools.go b/auth/test_tools.go index 41beb89..8972830 100644 --- a/auth/test_tools.go +++ b/auth/test_tools.go @@ -7,7 +7,7 @@ import ( "github.com/golang-jwt/jwt/v5" echo "github.com/theopenlane/echox" - "github.com/theopenlane/utils/echocontext" + "github.com/theopenlane/echox/middleware/echocontext" "github.com/theopenlane/iam/tokens" ) diff --git a/go.mod b/go.mod index 35f0557..09acae5 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/samber/lo v1.47.0 github.com/stoewer/go-strcase v1.3.0 github.com/stretchr/testify v1.9.0 - github.com/theopenlane/echox v0.1.0 + github.com/theopenlane/echox v0.2.0 github.com/theopenlane/utils v0.1.6-0.20240911214559-3e4455ffe31f github.com/vmihailenco/msgpack/v5 v5.4.1 golang.org/x/oauth2 v0.23.0 diff --git a/go.sum b/go.sum index 4a41639..07fffe7 100644 --- a/go.sum +++ b/go.sum @@ -312,8 +312,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= -github.com/theopenlane/echox v0.1.0 h1:y4Z2shaODCLwXHsHBrY/EkH/2sIuo49xdIfxx7h+Zvg= -github.com/theopenlane/echox v0.1.0/go.mod h1:RaynhPvY9qbLOVlcO7Js1NqZ66+CP9hVBa0c7ehNYA4= +github.com/theopenlane/echox v0.2.0 h1:s9DJJrsLOSPsXVfgmQxgXmSVtxzztBnSmcVX4ax7tIM= +github.com/theopenlane/echox v0.2.0/go.mod h1:nfxwQpwvqYYI/pFHJKDs3/HLvjYKEGCih4XDgLSma64= github.com/theopenlane/utils v0.1.6-0.20240911214559-3e4455ffe31f h1:0rlY7cUIDWmc6DBAT8hynDMpKJ8Up0kG1SCohzbGyps= github.com/theopenlane/utils v0.1.6-0.20240911214559-3e4455ffe31f/go.mod h1:ltGjXbyShUTAWEDSP7+jSQq7CxCmMnWoJm6f7HDbbp0= github.com/tursodatabase/libsql-client-go v0.0.0-20240902231107-85af5b9d094d h1:dOMI4+zEbDI37KGb0TI44GUAwxHF9cMsIoDTJ7UmgfU=