diff --git a/internal/cmd/backup.go b/internal/cmd/backup.go index d4d07965..9ff6a30c 100644 --- a/internal/cmd/backup.go +++ b/internal/cmd/backup.go @@ -13,8 +13,8 @@ import ( "github.com/schollz/progressbar/v3" "github.com/spf13/cobra" - "github.com/authzed/zed/internal/backupformat" "github.com/authzed/zed/internal/client" + "github.com/authzed/zed/pkg/backupformat" ) func registerBackupCmd(rootCmd *cobra.Command) { diff --git a/internal/cmd/restore.go b/internal/cmd/restore.go index d6082045..7a270d0f 100644 --- a/internal/cmd/restore.go +++ b/internal/cmd/restore.go @@ -13,8 +13,8 @@ import ( "github.com/schollz/progressbar/v3" "github.com/spf13/cobra" - "github.com/authzed/zed/internal/backupformat" "github.com/authzed/zed/internal/client" + "github.com/authzed/zed/pkg/backupformat" ) func registerRestoreCmd(rootCmd *cobra.Command) { diff --git a/internal/backupformat/backupformat_test.go b/pkg/backupformat/backupformat_test.go similarity index 100% rename from internal/backupformat/backupformat_test.go rename to pkg/backupformat/backupformat_test.go diff --git a/internal/backupformat/decoder.go b/pkg/backupformat/decoder.go similarity index 100% rename from internal/backupformat/decoder.go rename to pkg/backupformat/decoder.go diff --git a/internal/backupformat/encoder.go b/pkg/backupformat/encoder.go similarity index 100% rename from internal/backupformat/encoder.go rename to pkg/backupformat/encoder.go diff --git a/internal/backupformat/schema.go b/pkg/backupformat/schema.go similarity index 100% rename from internal/backupformat/schema.go rename to pkg/backupformat/schema.go