diff --git a/client.go b/client.go index 4e8ac6b8..06aa8266 100644 --- a/client.go +++ b/client.go @@ -19,7 +19,7 @@ import ( "go.opentelemetry.io/otel/trace" "go.uber.org/zap" - "github.com/ClickHouse/ch-go/internal/compress" + "github.com/ClickHouse/ch-go/compress" pkgVersion "github.com/ClickHouse/ch-go/internal/version" "github.com/ClickHouse/ch-go/otelch" "github.com/ClickHouse/ch-go/proto" diff --git a/internal/compress/_golden/data_compressed_lz4.hex b/compress/_golden/data_compressed_lz4.hex similarity index 100% rename from internal/compress/_golden/data_compressed_lz4.hex rename to compress/_golden/data_compressed_lz4.hex diff --git a/internal/compress/_golden/data_compressed_lz4.raw b/compress/_golden/data_compressed_lz4.raw similarity index 100% rename from internal/compress/_golden/data_compressed_lz4.raw rename to compress/_golden/data_compressed_lz4.raw diff --git a/internal/compress/_golden/data_compressed_none.hex b/compress/_golden/data_compressed_none.hex similarity index 100% rename from internal/compress/_golden/data_compressed_none.hex rename to compress/_golden/data_compressed_none.hex diff --git a/internal/compress/_golden/data_compressed_none.raw b/compress/_golden/data_compressed_none.raw similarity index 100% rename from internal/compress/_golden/data_compressed_none.raw rename to compress/_golden/data_compressed_none.raw diff --git a/internal/compress/_golden/data_compressed_zstd.hex b/compress/_golden/data_compressed_zstd.hex similarity index 100% rename from internal/compress/_golden/data_compressed_zstd.hex rename to compress/_golden/data_compressed_zstd.hex diff --git a/internal/compress/_golden/data_compressed_zstd.raw b/compress/_golden/data_compressed_zstd.raw similarity index 100% rename from internal/compress/_golden/data_compressed_zstd.raw rename to compress/_golden/data_compressed_zstd.raw diff --git a/internal/compress/_golden/data_raw.hex b/compress/_golden/data_raw.hex similarity index 100% rename from internal/compress/_golden/data_raw.hex rename to compress/_golden/data_raw.hex diff --git a/internal/compress/_golden/data_raw.raw b/compress/_golden/data_raw.raw similarity index 100% rename from internal/compress/_golden/data_raw.raw rename to compress/_golden/data_raw.raw diff --git a/internal/compress/compress.go b/compress/compress.go similarity index 100% rename from internal/compress/compress.go rename to compress/compress.go diff --git a/internal/compress/compress_test.go b/compress/compress_test.go similarity index 100% rename from internal/compress/compress_test.go rename to compress/compress_test.go diff --git a/internal/compress/fuzz_test.go b/compress/fuzz_test.go similarity index 100% rename from internal/compress/fuzz_test.go rename to compress/fuzz_test.go diff --git a/internal/compress/method_enum.go b/compress/method_enum.go similarity index 100% rename from internal/compress/method_enum.go rename to compress/method_enum.go diff --git a/internal/compress/reader.go b/compress/reader.go similarity index 100% rename from internal/compress/reader.go rename to compress/reader.go diff --git a/internal/compress/reader_test.go b/compress/reader_test.go similarity index 100% rename from internal/compress/reader_test.go rename to compress/reader_test.go diff --git a/internal/compress/writer.go b/compress/writer.go similarity index 100% rename from internal/compress/writer.go rename to compress/writer.go diff --git a/proto/reader.go b/proto/reader.go index 1057a699..61d816a1 100644 --- a/proto/reader.go +++ b/proto/reader.go @@ -9,7 +9,7 @@ import ( "github.com/go-faster/errors" - "github.com/ClickHouse/ch-go/internal/compress" + "github.com/ClickHouse/ch-go/compress" ) // Decoder implements decoding from Reader. diff --git a/query.go b/query.go index c372001a..f99e3af6 100644 --- a/query.go +++ b/query.go @@ -18,7 +18,7 @@ import ( "go.uber.org/zap" "golang.org/x/sync/errgroup" - "github.com/ClickHouse/ch-go/internal/compress" + "github.com/ClickHouse/ch-go/compress" "github.com/ClickHouse/ch-go/otelch" "github.com/ClickHouse/ch-go/proto" ) diff --git a/server.go b/server.go index 97940d5b..f50ed1f3 100644 --- a/server.go +++ b/server.go @@ -11,7 +11,7 @@ import ( "go.uber.org/atomic" "go.uber.org/zap" - "github.com/ClickHouse/ch-go/internal/compress" + "github.com/ClickHouse/ch-go/compress" "github.com/ClickHouse/ch-go/proto" )