refactor: string map to uuidv5

This commit is contained in:
Skyxim
2022-05-06 14:02:34 +08:00
parent a95d439852
commit 980d8a2641
2 changed files with 8 additions and 20 deletions

View File

@ -10,6 +10,7 @@ func TestUUIDMap(t *testing.T) {
type args struct {
str string
}
tests := []struct {
name string
args args
@ -40,6 +41,7 @@ func TestUUIDMap(t *testing.T) {
want: uuid.FromStringOrNil("f8598425-92f2-5508-a071-4fc67f9040ac"),
wantErr: false,
},
// GENERATED BY 'xray uuid -i'
{
name: "uuid-map-2",
args: args{