Use a fully random async_id rather than a uuid

This commit is contained in:
Kovid Goyal
2022-08-26 10:39:18 +05:30
parent 4a49c3940a
commit b1f9139ca5
3 changed files with 20 additions and 3 deletions

View File

@@ -8,11 +8,11 @@ import (
)
func TestShortUUID(t *testing.T) {
a, err := HumanUUID4()
a, err := HumanRandomId(128)
if err != nil {
t.Fatal(err)
}
b, err := HumanUUID4()
b, err := HumanRandomId(128)
if err != nil {
t.Fatal(err)
}