From da614c6c262722ea740e22ac49897599d2a78ba9 Mon Sep 17 00:00:00 2001 From: huangzhiran <30522704+huangzhiran@users.noreply.github.com> Date: Thu, 13 Jun 2024 19:00:25 +0800 Subject: [PATCH] fix readme example error (#115) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb88baa..a45d4b4 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ doc := &did.Document{ } // Add an assertionMethod -keyID, _ =: did.ParseDIDURL("did:example:123#key-1") +keyID, _ := did.ParseDIDURL("did:example:123#key-1") keyPair, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) verificationMethod, err := did.NewVerificationMethod(*keyID, did.JsonWebKey2020, did.DID{}, keyPair.Public())