keypair err mgt + shorturl random improve

This commit is contained in:
ycc
2026-02-02 15:11:41 +01:00
parent f8537aad6d
commit f498cfad1e
23 changed files with 778 additions and 1052 deletions

View File

@@ -8,9 +8,18 @@ import (
)
func TestCompressAndJson(t *testing.T) {
kp1 := NewKeyPair()
kp2 := NewKeyPair()
kp3 := NewKeyPair()
kp1, err := NewKeyPair()
if err != nil {
t.Fatal(err)
}
kp2, err := NewKeyPair()
if err != nil {
t.Fatal(err)
}
kp3, err := NewKeyPair()
if err != nil {
t.Fatal(err)
}
var cc ContactCard
cc.Name = "My Full Name And It's loooong"
cc.ContactPublicKey = kp1.Public