diff --git a/go.mod b/go.mod index a8cc03f325..63cc84df20 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,6 @@ require ( github.com/mkevac/debugcharts v0.0.0-20191222103121-ae1c48aa8615 github.com/paulmach/orb v0.10.0 github.com/pkg/errors v0.9.1 - github.com/satori/go.uuid v1.2.0 github.com/shopspring/decimal v1.3.1 github.com/stretchr/testify v1.8.4 github.com/testcontainers/testcontainers-go v0.25.0 diff --git a/go.sum b/go.sum index 3556ac336e..6f8a6e9a54 100644 --- a/go.sum +++ b/go.sum @@ -127,8 +127,6 @@ github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww= -github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= github.com/segmentio/asm v1.2.0 h1:9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys= github.com/segmentio/asm v1.2.0/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= diff --git a/tests/uuid_test.go b/tests/uuid_test.go index 0c5d9caa23..b7ac809240 100644 --- a/tests/uuid_test.go +++ b/tests/uuid_test.go @@ -19,10 +19,10 @@ package tests import ( "context" + "testing" + "github.com/ClickHouse/clickhouse-go/v2/lib/column" - suuid "github.com/satori/go.uuid" "github.com/stretchr/testify/require" - "testing" "github.com/ClickHouse/clickhouse-go/v2" "github.com/google/uuid" @@ -95,13 +95,13 @@ func TestStringerUUID(t *testing.T) { batch, err := conn.PrepareBatch(ctx, "INSERT INTO test_uuid") require.NoError(t, err) var ( - col1Data = suuid.NewV4() + col1Data = uuid.New() ) require.NoError(t, batch.Append(col1Data)) require.Equal(t, 1, batch.Rows()) require.NoError(t, batch.Send()) var ( - col1 suuid.UUID + col1 uuid.UUID ) require.NoError(t, conn.QueryRow(ctx, "SELECT * FROM test_uuid").Scan(&col1)) assert.Equal(t, col1Data.String(), col1.String())