diff --git a/cmd/buildutil/chain.go b/cmd/buildutil/chain.go index 2410df2..470c73f 100644 --- a/cmd/buildutil/chain.go +++ b/cmd/buildutil/chain.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/executil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/executil" ) type ChainExecutor struct { diff --git a/cmd/buildutil/info.go b/cmd/buildutil/info.go index cdf6345..c2488ec 100644 --- a/cmd/buildutil/info.go +++ b/cmd/buildutil/info.go @@ -13,7 +13,7 @@ import ( "time" "github.com/pkg/errors" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" "github.com/sirupsen/logrus" "golang.org/x/mod/modfile" "golang.org/x/tools/go/packages" diff --git a/cmd/buildutil/instrumentation.go b/cmd/buildutil/instrumentation.go index e49fdf0..39c1d20 100644 --- a/cmd/buildutil/instrumentation.go +++ b/cmd/buildutil/instrumentation.go @@ -7,7 +7,7 @@ import ( "sync" "time" - "github.com/rebuy-de/rebuy-go-sdk/v6/cmd/buildutil/internal/typeutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/cmd/buildutil/internal/typeutil" "github.com/sirupsen/logrus" ) diff --git a/cmd/buildutil/logutil.go b/cmd/buildutil/logutil.go index 334eb19..fde45d8 100644 --- a/cmd/buildutil/logutil.go +++ b/cmd/buildutil/logutil.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" "github.com/tidwall/pretty" ) diff --git a/cmd/buildutil/main.go b/cmd/buildutil/main.go index 9a0fcfa..09f0a6a 100644 --- a/cmd/buildutil/main.go +++ b/cmd/buildutil/main.go @@ -6,7 +6,7 @@ import ( "github.com/sirupsen/logrus" "github.com/spf13/cobra" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" ) func main() { diff --git a/cmd/buildutil/runner.go b/cmd/buildutil/runner.go index 24794b2..2742007 100644 --- a/cmd/buildutil/runner.go +++ b/cmd/buildutil/runner.go @@ -24,8 +24,8 @@ import ( "github.com/sirupsen/logrus" "github.com/spf13/cobra" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/executil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/executil" ) func call(ctx context.Context, command string, args ...string) { @@ -201,7 +201,7 @@ func (r *Runner) RunBuild(ctx context.Context, cmd *cobra.Command, args []string ldFlags := []string{} for _, entry := range ldData { ldFlags = append(ldFlags, fmt.Sprintf( - `-X 'github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil.%s=%s'`, + `-X 'github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil.%s=%s'`, entry.name, entry.value, )) } diff --git a/cmd/cdnmirror/main.go b/cmd/cdnmirror/main.go index a178188..0673b79 100644 --- a/cmd/cdnmirror/main.go +++ b/cmd/cdnmirror/main.go @@ -13,7 +13,7 @@ import ( "github.com/evanw/esbuild/pkg/api" "github.com/pkg/errors" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/examples/full/buildutil b/examples/full/buildutil index 3031dbf..de5f534 100755 --- a/examples/full/buildutil +++ b/examples/full/buildutil @@ -2,4 +2,4 @@ set -eu go mod vendor go generate ./... -exec go run github.com/rebuy-de/rebuy-go-sdk/v6/cmd/buildutil "$@" +exec go run github.com/rebuy-de/rebuy-go-sdk/v7/cmd/buildutil "$@" diff --git a/examples/full/cmd/inst.go b/examples/full/cmd/inst.go index 48cf5f2..ce717ca 100644 --- a/examples/full/cmd/inst.go +++ b/examples/full/cmd/inst.go @@ -5,8 +5,8 @@ import ( "net/http" "strings" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/instutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/instutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" ) // inst.go contains all functions for handling instrumentation (ie metrics and diff --git a/examples/full/cmd/root.go b/examples/full/cmd/root.go index 122f94a..2cbc8b2 100644 --- a/examples/full/cmd/root.go +++ b/examples/full/cmd/root.go @@ -7,9 +7,9 @@ import ( "io/fs" "os" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/podutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/redisutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/podutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/redisutil" "github.com/redis/go-redis/v9" "github.com/sirupsen/logrus" "github.com/spf13/cobra" diff --git a/examples/full/cmd/server.go b/examples/full/cmd/server.go index bab939a..297cd60 100644 --- a/examples/full/cmd/server.go +++ b/examples/full/cmd/server.go @@ -10,10 +10,10 @@ import ( "github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5/middleware" "github.com/pkg/errors" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/redisutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/webutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/redisutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/webutil" "github.com/redis/go-redis/v9" "golang.org/x/sync/errgroup" ) diff --git a/examples/full/go.mod b/examples/full/go.mod index 7c12162..026756d 100644 --- a/examples/full/go.mod +++ b/examples/full/go.mod @@ -1,13 +1,13 @@ -module github.com/rebuy-de/rebuy-go-sdk/v6/examples/full +module github.com/rebuy-de/rebuy-go-sdk/v7/examples/full go 1.21 -replace github.com/rebuy-de/rebuy-go-sdk/v6 => ../.. +replace github.com/rebuy-de/rebuy-go-sdk/v7 => ../.. require ( github.com/go-chi/chi/v5 v5.0.11 github.com/pkg/errors v0.9.1 - github.com/rebuy-de/rebuy-go-sdk/v6 v6.0.0 + github.com/rebuy-de/rebuy-go-sdk/v7 v7.0.0 github.com/redis/go-redis/v9 v9.4.0 github.com/sirupsen/logrus v1.9.3 github.com/spf13/cobra v1.8.0 diff --git a/examples/full/main.go b/examples/full/main.go index 5e9521c..eba1f7a 100644 --- a/examples/full/main.go +++ b/examples/full/main.go @@ -1,10 +1,10 @@ package main import ( - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" "github.com/sirupsen/logrus" - "github.com/rebuy-de/rebuy-go-sdk/v6/examples/full/cmd" + "github.com/rebuy-de/rebuy-go-sdk/v7/examples/full/cmd" ) func main() { diff --git a/examples/full/tools.go b/examples/full/tools.go index b48a934..fe3dedf 100644 --- a/examples/full/tools.go +++ b/examples/full/tools.go @@ -5,5 +5,5 @@ package main // https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module import ( - _ "github.com/rebuy-de/rebuy-go-sdk/v6/cmd/buildutil" + _ "github.com/rebuy-de/rebuy-go-sdk/v7/cmd/buildutil" ) diff --git a/examples/minimal/buildutil b/examples/minimal/buildutil index 3031dbf..de5f534 100755 --- a/examples/minimal/buildutil +++ b/examples/minimal/buildutil @@ -2,4 +2,4 @@ set -eu go mod vendor go generate ./... -exec go run github.com/rebuy-de/rebuy-go-sdk/v6/cmd/buildutil "$@" +exec go run github.com/rebuy-de/rebuy-go-sdk/v7/cmd/buildutil "$@" diff --git a/examples/minimal/cmd/root.go b/examples/minimal/cmd/root.go index b5881ef..1fd16a6 100644 --- a/examples/minimal/cmd/root.go +++ b/examples/minimal/cmd/root.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/examples/minimal/go.mod b/examples/minimal/go.mod index ff03f06..11362c8 100644 --- a/examples/minimal/go.mod +++ b/examples/minimal/go.mod @@ -1,11 +1,11 @@ -module github.com/rebuy-de/rebuy-go-sdk/v6/examples/minimal +module github.com/rebuy-de/rebuy-go-sdk/v7/examples/minimal go 1.21 -replace github.com/rebuy-de/rebuy-go-sdk/v6 => ../.. +replace github.com/rebuy-de/rebuy-go-sdk/v7 => ../.. require ( - github.com/rebuy-de/rebuy-go-sdk/v6 v6.0.0 + github.com/rebuy-de/rebuy-go-sdk/v7 v7.0.0 github.com/sirupsen/logrus v1.9.3 github.com/spf13/cobra v1.8.0 ) diff --git a/examples/minimal/main.go b/examples/minimal/main.go index 0d018ab..8628494 100644 --- a/examples/minimal/main.go +++ b/examples/minimal/main.go @@ -1,10 +1,10 @@ package main import ( - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" "github.com/sirupsen/logrus" - "github.com/rebuy-de/rebuy-go-sdk/v6/examples/minimal/cmd" + "github.com/rebuy-de/rebuy-go-sdk/v7/examples/minimal/cmd" ) func main() { diff --git a/examples/minimal/tools.go b/examples/minimal/tools.go index b48a934..fe3dedf 100644 --- a/examples/minimal/tools.go +++ b/examples/minimal/tools.go @@ -5,5 +5,5 @@ package main // https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module import ( - _ "github.com/rebuy-de/rebuy-go-sdk/v6/cmd/buildutil" + _ "github.com/rebuy-de/rebuy-go-sdk/v7/cmd/buildutil" ) diff --git a/go.mod b/go.mod index 55bbff2..8fe7a34 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/rebuy-de/rebuy-go-sdk/v6 +module github.com/rebuy-de/rebuy-go-sdk/v7 go 1.21 diff --git a/pkg/instutil/instutil.go b/pkg/instutil/instutil.go index f8e5db7..83bf017 100644 --- a/pkg/instutil/instutil.go +++ b/pkg/instutil/instutil.go @@ -7,8 +7,8 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" ) type contextKeyCounter string diff --git a/pkg/instutil/toolstack.go b/pkg/instutil/toolstack.go index 7691668..562b218 100644 --- a/pkg/instutil/toolstack.go +++ b/pkg/instutil/toolstack.go @@ -2,7 +2,7 @@ package instutil import ( "github.com/prometheus/client_golang/prometheus" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" ) func init() { diff --git a/pkg/instutil/transition.go b/pkg/instutil/transition.go index ae39c2b..2170a1c 100644 --- a/pkg/instutil/transition.go +++ b/pkg/instutil/transition.go @@ -3,7 +3,7 @@ package instutil import ( "context" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" "github.com/sirupsen/logrus" ) diff --git a/pkg/lokiutil/buf.go b/pkg/lokiutil/buf.go index f13e298..17d2118 100644 --- a/pkg/lokiutil/buf.go +++ b/pkg/lokiutil/buf.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/afiskon/promtail-client/logproto" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/pkg/podutil/dev.go b/pkg/podutil/dev.go index 62ebfc8..33d800f 100644 --- a/pkg/podutil/dev.go +++ b/pkg/podutil/dev.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" ) func StartDevcontainer(ctx context.Context, conn *Connection, name string, image string, opts ...CreateContainerOption) (*InspectContainerResult, error) { diff --git a/pkg/testutil/golden_test.go b/pkg/testutil/golden_test.go index 59d56f3..1a7e0d8 100644 --- a/pkg/testutil/golden_test.go +++ b/pkg/testutil/golden_test.go @@ -3,7 +3,7 @@ package testutil_test import ( "testing" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/testutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/testutil" ) type exampleData struct { diff --git a/pkg/vaultutil/aws.go b/pkg/vaultutil/aws.go index f1ffb80..5af2d64 100644 --- a/pkg/vaultutil/aws.go +++ b/pkg/vaultutil/aws.go @@ -7,7 +7,7 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/pkg/errors" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" ) type awsCredentialsProvider struct { diff --git a/pkg/vaultutil/manager.go b/pkg/vaultutil/manager.go index e75bed8..c6589d0 100644 --- a/pkg/vaultutil/manager.go +++ b/pkg/vaultutil/manager.go @@ -7,7 +7,7 @@ import ( "github.com/aws/aws-sdk-go-v2/config" "github.com/hashicorp/vault/api" "github.com/pkg/errors" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" ) const ( diff --git a/pkg/vaultutil/params.go b/pkg/vaultutil/params.go index 63ffba4..c1ec9af 100644 --- a/pkg/vaultutil/params.go +++ b/pkg/vaultutil/params.go @@ -1,7 +1,7 @@ package vaultutil import ( - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" "github.com/spf13/cobra" ) diff --git a/pkg/vaultutil/util.go b/pkg/vaultutil/util.go index 37e5cf6..dfb862a 100644 --- a/pkg/vaultutil/util.go +++ b/pkg/vaultutil/util.go @@ -2,7 +2,7 @@ package vaultutil import ( "github.com/hashicorp/vault/api" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" ) func prettyPrintSecret(original *api.Secret) string { diff --git a/pkg/webutil/admin.go b/pkg/webutil/admin.go index 9c41340..cece84c 100644 --- a/pkg/webutil/admin.go +++ b/pkg/webutil/admin.go @@ -7,7 +7,7 @@ import ( "net/http/pprof" "github.com/prometheus/client_golang/prometheus/promhttp" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" ) func AdminAPIListenAndServe(ctx context.Context, healthy ...func() error) { diff --git a/pkg/webutil/auth.go b/pkg/webutil/auth.go index f5b2224..0f8285c 100644 --- a/pkg/webutil/auth.go +++ b/pkg/webutil/auth.go @@ -19,9 +19,9 @@ import ( "github.com/coreos/go-oidc/v3/oidc" "github.com/go-chi/chi/v5" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/typeutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/typeutil" "github.com/spf13/cobra" "golang.org/x/oauth2" ) diff --git a/pkg/webutil/server.go b/pkg/webutil/server.go index f3faded..41ac72b 100644 --- a/pkg/webutil/server.go +++ b/pkg/webutil/server.go @@ -7,7 +7,7 @@ import ( "time" "github.com/pkg/errors" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/logutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/logutil" "golang.org/x/sync/errgroup" ) diff --git a/pkg/webutil/session.go b/pkg/webutil/session.go index 1f7e1ee..7e24986 100644 --- a/pkg/webutil/session.go +++ b/pkg/webutil/session.go @@ -10,7 +10,7 @@ import ( "github.com/gorilla/securecookie" "github.com/gorilla/sessions" "github.com/pkg/errors" - "github.com/rebuy-de/rebuy-go-sdk/v6/pkg/cmdutil" + "github.com/rebuy-de/rebuy-go-sdk/v7/pkg/cmdutil" "github.com/redis/go-redis/v9" "github.com/sirupsen/logrus" )