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) }