remove uuid dep

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-09-06 18:09:07 +03:00
parent c6c163658c
commit cc72d7f8e5
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

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

View File

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