Fix pkg.go.dev link for certificates README
Also fixed some code errors
@@ -123,7 +123,7 @@ func main() {
panic(err)
}
- client, err = azcertificates.NewClient("https://my-key-vault.vault.azure.net/", credential, nil)
+ client, err := azcertificates.NewClient("https://my-key-vault.vault.azure.net/", credential, nil)
if err != nil {
panic(err)
}
@@ -162,7 +162,7 @@ func main() {
if err != nil {
panic(err)
}
- client, err = azcertificates.NewClient("https://my-key-vault.vault.azure.net/", credential, nil)
+ client, err := azcertificates.NewClient("https://my-key-vault.vault.azure.net/", credential, nil)
if err != nil {
panic(err)
}
@@ -450,7 +450,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
[azure_sub]: https://azure.microsoft.com/free/
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
[keyvault_docs]: https://docs.microsoft.com/azure/key-vault/
-[pkggodev_azcerts]: https://pypi.org/project/azure-keyvault-certificates/
+[pkggodev_azcerts]: https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azcertificates
[certificate_client_docs]: https://aka.ms/azsdk/go/azcertificates
[rbac_guide]: https://docs.microsoft.com/azure/key-vault/general/rbac-guide
[reference_docs]: https://aka.ms/azsdk/go/azcertificates
