diff --git a/oidc_cli/aws_sts.go b/oidc_cli/aws_sts.go index 3fa2fdb6..6a8ec395 100644 --- a/oidc_cli/aws_sts.go +++ b/oidc_cli/aws_sts.go @@ -7,8 +7,8 @@ import ( "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/credentials/stscreds" "github.com/aws/aws-sdk-go/service/sts/stsiface" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/client" ) type AwsOIDCCredsProviderConfig struct { diff --git a/oidc_cli/go.mod b/oidc_cli/go.mod index 2d65bd72..b397546f 100644 --- a/oidc_cli/go.mod +++ b/oidc_cli/go.mod @@ -1,4 +1,4 @@ -module github.com/chanzuckerberg/go-misc/oidc_cli +module github.com/chanzuckerberg/go-misc/oidc_cli/v2 go 1.21 diff --git a/oidc_cli/oidc_impl/cache/cache.go b/oidc_cli/oidc_impl/cache/cache.go index 8451bb5b..0c314110 100644 --- a/oidc_cli/oidc_impl/cache/cache.go +++ b/oidc_cli/oidc_impl/cache/cache.go @@ -7,8 +7,8 @@ import ( "fmt" "io" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/storage" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/client" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/storage" "github.com/chanzuckerberg/go-misc/pidlock" "github.com/pkg/errors" "github.com/sirupsen/logrus" diff --git a/oidc_cli/oidc_impl/cache/cache_test.go b/oidc_cli/oidc_impl/cache/cache_test.go index 98e11fdf..ec1b6a40 100644 --- a/oidc_cli/oidc_impl/cache/cache_test.go +++ b/oidc_cli/oidc_impl/cache/cache_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/storage" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/client" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/storage" "github.com/chanzuckerberg/go-misc/pidlock" "github.com/google/uuid" diff --git a/oidc_cli/oidc_impl/storage/file.go b/oidc_cli/oidc_impl/storage/file.go index 49a2112a..6695c205 100644 --- a/oidc_cli/oidc_impl/storage/file.go +++ b/oidc_cli/oidc_impl/storage/file.go @@ -10,7 +10,7 @@ import ( "path" "sync" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/client" "github.com/pkg/errors" ) diff --git a/oidc_cli/oidc_impl/storage/keyring.go b/oidc_cli/oidc_impl/storage/keyring.go index 3f46bbd6..29b6ba51 100644 --- a/oidc_cli/oidc_impl/storage/keyring.go +++ b/oidc_cli/oidc_impl/storage/keyring.go @@ -5,7 +5,7 @@ import ( "fmt" "sync" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/client" "github.com/pkg/errors" "github.com/zalando/go-keyring" ) diff --git a/oidc_cli/oidc_impl/storage/storage.go b/oidc_cli/oidc_impl/storage/storage.go index 4efaa89b..0e3b8c67 100644 --- a/oidc_cli/oidc_impl/storage/storage.go +++ b/oidc_cli/oidc_impl/storage/storage.go @@ -3,7 +3,7 @@ package storage import ( "context" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/client" "github.com/chanzuckerberg/go-misc/osutil" "github.com/mitchellh/go-homedir" "github.com/pkg/errors" diff --git a/oidc_cli/oidc_impl/token_getter.go b/oidc_cli/oidc_impl/token_getter.go index a6bda730..e1970889 100644 --- a/oidc_cli/oidc_impl/token_getter.go +++ b/oidc_cli/oidc_impl/token_getter.go @@ -4,9 +4,9 @@ import ( "context" "time" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/cache" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client" - "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/storage" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/cache" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/client" + "github.com/chanzuckerberg/go-misc/oidc_cli/v2/oidc_impl/storage" "github.com/chanzuckerberg/go-misc/pidlock" "github.com/pkg/errors" )