docs(README): update links and installation instructions to reflect new repository location

This commit is contained in:
2026-01-08 15:36:16 -05:00
parent a6db32a456
commit 7b868a0d14

View File

@@ -2,19 +2,19 @@
<h1 align="center">go-did-it</h1>
<p>
<a href="https://github.com/MetaMask/go-did-it/tags">
<a href="https://code.sonr.org/go/did-it/tags">
<img alt="GitHub Tag" src="https://img.shields.io/github/v/tag/MetaMask/go-did-it">
</a>
<a href="https://github.com/MetaMask/go-did-it/actions?query=">
<img src="https://github.com/MetaMask/go-did-it/actions/workflows/gotest.yml/badge.svg" alt="Build Status">
<a href="https://code.sonr.org/go/did-it/actions?query=">
<img src="https://code.sonr.org/go/did-it/actions/workflows/gotest.yml/badge.svg" alt="Build Status">
</a>
<a href="https://MetaMask.github.io/go-did-it/dev/bench/">
<img alt="Go benchmarks" src="https://img.shields.io/badge/Benchmarks-go-blue">
</a>
<a href="https://github.com/MetaMask/go-did-it/blob/v1/LICENSE.md">
<a href="https://code.sonr.org/go/did-it/blob/v1/LICENSE.md">
<img alt="Apache 2.0 + MIT License" src="https://img.shields.io/badge/License-Apache--2.0+MIT-green">
</a>
<a href="https://pkg.go.dev/github.com/MetaMask/go-did-it">
<a href="https://pkg.go.dev/code.sonr.org/go/did-it">
<img src="https://img.shields.io/badge/Docs-godoc-blue" alt="Docs">
</a>
</p>
@@ -36,7 +36,7 @@ Built with ❤️ by [Consensys](https://consensys.io/).
## Installation
```bash
go get github.com/MetaMask/go-did-it
go get code.sonr.org/go/did-it
```
## Usage
@@ -52,10 +52,10 @@ import (
"encoding/base64"
"fmt"
"github.com/MetaMask/go-did-it"
"code.sonr.org/go/did-it"
// 0) Import the methods you want to support
_ "github.com/MetaMask/go-did-it/verifiers/did-key"
_ "code.sonr.org/go/did-it/verifiers/did-key"
)
func main() {
@@ -90,11 +90,11 @@ import (
"encoding/base64"
"fmt"
"github.com/MetaMask/go-did-it"
"github.com/MetaMask/go-did-it/crypto/x25519"
"code.sonr.org/go/did-it"
"code.sonr.org/go/did-it/crypto/x25519"
// 0) Import the methods you want to support
_ "github.com/MetaMask/go-did-it/verifiers/did-key"
_ "code.sonr.org/go/did-it/verifiers/did-key"
)
func main() {