diff --git a/cmd/flush.go b/cmd/flush.go index 6acad7d..3eb4abc 100644 --- a/cmd/flush.go +++ b/cmd/flush.go @@ -6,8 +6,8 @@ import ( "fmt" "git.rob.mx/nidito/chinampa/pkg/command" - opclient "git.rob.mx/nidito/joao/internal/op-client" "git.rob.mx/nidito/joao/pkg/config" + opclient "git.rob.mx/nidito/joao/pkg/op-client" "github.com/sirupsen/logrus" ) diff --git a/cmd/set.go b/cmd/set.go index 41cb03c..dc08477 100644 --- a/cmd/set.go +++ b/cmd/set.go @@ -9,8 +9,8 @@ import ( "strings" "git.rob.mx/nidito/chinampa/pkg/command" - opclient "git.rob.mx/nidito/joao/internal/op-client" "git.rob.mx/nidito/joao/pkg/config" + opclient "git.rob.mx/nidito/joao/pkg/op-client" "github.com/sirupsen/logrus" ) diff --git a/internal/testdata/fixtures.go b/internal/testdata/fixtures.go index 3d02f4c..89d1fe6 100644 --- a/internal/testdata/fixtures.go +++ b/internal/testdata/fixtures.go @@ -8,8 +8,8 @@ import ( "runtime" "testing" - opclient "git.rob.mx/nidito/joao/internal/op-client" "git.rob.mx/nidito/joao/internal/testdata/opconnect" + opclient "git.rob.mx/nidito/joao/pkg/op-client" "github.com/1Password/connect-sdk-go/connect" "github.com/1Password/connect-sdk-go/onepassword" "github.com/sirupsen/logrus" diff --git a/pkg/config/config.go b/pkg/config/config.go index 91414e1..6250869 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -9,7 +9,7 @@ import ( "os/exec" "strings" - opclient "git.rob.mx/nidito/joao/internal/op-client" + opclient "git.rob.mx/nidito/joao/pkg/op-client" op "github.com/1Password/connect-sdk-go/onepassword" "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" diff --git a/pkg/config/input.go b/pkg/config/input.go index d6222cc..1d84c4a 100644 --- a/pkg/config/input.go +++ b/pkg/config/input.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - opClient "git.rob.mx/nidito/joao/internal/op-client" + opClient "git.rob.mx/nidito/joao/pkg/op-client" op "github.com/1Password/connect-sdk-go/onepassword" "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" diff --git a/pkg/config/output.go b/pkg/config/output.go index 1d6749c..6c86bd9 100644 --- a/pkg/config/output.go +++ b/pkg/config/output.go @@ -9,7 +9,7 @@ import ( "io/fs" "os" - opClient "git.rob.mx/nidito/joao/internal/op-client" + opClient "git.rob.mx/nidito/joao/pkg/op-client" op "github.com/1Password/connect-sdk-go/onepassword" "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" diff --git a/internal/op-client/checksum.go b/pkg/op-client/checksum.go similarity index 100% rename from internal/op-client/checksum.go rename to pkg/op-client/checksum.go diff --git a/internal/op-client/cli.go b/pkg/op-client/cli.go similarity index 100% rename from internal/op-client/cli.go rename to pkg/op-client/cli.go diff --git a/internal/op-client/cli_test.go b/pkg/op-client/cli_test.go similarity index 98% rename from internal/op-client/cli_test.go rename to pkg/op-client/cli_test.go index 39b4046..c5cc15a 100644 --- a/internal/op-client/cli_test.go +++ b/pkg/op-client/cli_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - opclient "git.rob.mx/nidito/joao/internal/op-client" "git.rob.mx/nidito/joao/internal/testdata" + opclient "git.rob.mx/nidito/joao/pkg/op-client" "github.com/1Password/connect-sdk-go/onepassword" "github.com/sirupsen/logrus" ) diff --git a/internal/op-client/connect.go b/pkg/op-client/connect.go similarity index 100% rename from internal/op-client/connect.go rename to pkg/op-client/connect.go diff --git a/internal/op-client/op.go b/pkg/op-client/op.go similarity index 100% rename from internal/op-client/op.go rename to pkg/op-client/op.go