From cc72d7f8e55e96f1a7ba8e1089439ac117ace5e9 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Mon, 6 Sep 2021 18:09:07 +0300 Subject: [PATCH] remove uuid dep Signed-off-by: Vasiliy Tolstov --- go.mod | 2 +- s3_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 6a838c7..6ba5770 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/gabriel-vasile/mimetype v1.3.1 - github.com/google/uuid v1.2.0 + github.com/google/uuid v1.2.0 // indirect github.com/minio/minio-go/v7 v7.0.13 github.com/unistack-org/micro/v3 v3.7.0 ) diff --git a/s3_test.go b/s3_test.go index cae6e9c..c9e1534 100644 --- a/s3_test.go +++ b/s3_test.go @@ -6,9 +6,9 @@ import ( "os" "testing" - "github.com/google/uuid" "github.com/minio/minio-go/v7" "github.com/unistack-org/micro/v3" + "github.com/unistack-org/micro/v3/util/id" ) func TestStore(t *testing.T) { @@ -54,7 +54,7 @@ func TestStore(t *testing.T) { val := []byte("test") key := "key" - bucket := "micro-store-s3-" + uuid.New().String() + bucket := "micro-store-s3-" + id.New() if err := s.Write(ctx, key, val, WriteBucket(bucket), ContentType("text/plain")); err != nil { t.Fatal(err) }