From fe3edeb23f25c92a026ecdebe79c3bbbbbec5cd5 Mon Sep 17 00:00:00 2001 From: wlewis4321 <58235577+wlewis4321@users.noreply.github.com> Date: Mon, 8 Jul 2024 12:17:05 -0500 Subject: [PATCH] Updating go.mod to include /v2 (#85) --- go.mod | 2 +- scintegtests/integration_test.go | 2 +- secretcache/cacheHook_test.go | 3 ++- secretcache/cache_test.go | 2 +- secretcache/mockClient_test.go | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 4b7b6fb..888c3e4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/aws/aws-secretsmanager-caching-go +module github.com/aws/aws-secretsmanager-caching-go/v2 go 1.20 diff --git a/scintegtests/integration_test.go b/scintegtests/integration_test.go index 8dec4e2..80acace 100644 --- a/scintegtests/integration_test.go +++ b/scintegtests/integration_test.go @@ -11,7 +11,7 @@ import ( "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/secretsmanager" - "github.com/aws/aws-secretsmanager-caching-go/secretcache" + "github.com/aws/aws-secretsmanager-caching-go/v2/secretcache" "github.com/aws/smithy-go" ) diff --git a/secretcache/cacheHook_test.go b/secretcache/cacheHook_test.go index 2aa320c..f3521f0 100644 --- a/secretcache/cacheHook_test.go +++ b/secretcache/cacheHook_test.go @@ -15,8 +15,9 @@ package secretcache_test import ( "bytes" - "github.com/aws/aws-secretsmanager-caching-go/secretcache" "testing" + + "github.com/aws/aws-secretsmanager-caching-go/v2/secretcache" ) type DummyCacheHook struct { diff --git a/secretcache/cache_test.go b/secretcache/cache_test.go index dc4ca73..d0d75c0 100644 --- a/secretcache/cache_test.go +++ b/secretcache/cache_test.go @@ -19,7 +19,7 @@ import ( "testing" "time" - "github.com/aws/aws-secretsmanager-caching-go/secretcache" + "github.com/aws/aws-secretsmanager-caching-go/v2/secretcache" "github.com/aws/aws-sdk-go-v2/service/secretsmanager" ) diff --git a/secretcache/mockClient_test.go b/secretcache/mockClient_test.go index 38c974d..3673036 100644 --- a/secretcache/mockClient_test.go +++ b/secretcache/mockClient_test.go @@ -19,7 +19,7 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/secretsmanager" - "github.com/aws/aws-secretsmanager-caching-go/secretcache" + "github.com/aws/aws-secretsmanager-caching-go/v2/secretcache" ) // A struct to be used in unit tests as a mock Client