docs(README): update links and installation instructions to reflect new repository location
This commit is contained in:
22
Readme.md
22
Readme.md
@@ -2,19 +2,19 @@
|
|||||||
<h1 align="center">go-did-it</h1>
|
<h1 align="center">go-did-it</h1>
|
||||||
|
|
||||||
<p>
|
<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">
|
<img alt="GitHub Tag" src="https://img.shields.io/github/v/tag/MetaMask/go-did-it">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/MetaMask/go-did-it/actions?query=">
|
<a href="https://code.sonr.org/go/did-it/actions?query=">
|
||||||
<img src="https://github.com/MetaMask/go-did-it/actions/workflows/gotest.yml/badge.svg" alt="Build Status">
|
<img src="https://code.sonr.org/go/did-it/actions/workflows/gotest.yml/badge.svg" alt="Build Status">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://MetaMask.github.io/go-did-it/dev/bench/">
|
<a href="https://MetaMask.github.io/go-did-it/dev/bench/">
|
||||||
<img alt="Go benchmarks" src="https://img.shields.io/badge/Benchmarks-go-blue">
|
<img alt="Go benchmarks" src="https://img.shields.io/badge/Benchmarks-go-blue">
|
||||||
</a>
|
</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">
|
<img alt="Apache 2.0 + MIT License" src="https://img.shields.io/badge/License-Apache--2.0+MIT-green">
|
||||||
</a>
|
</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">
|
<img src="https://img.shields.io/badge/Docs-godoc-blue" alt="Docs">
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
@@ -36,7 +36,7 @@ Built with ❤️ by [Consensys](https://consensys.io/).
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get github.com/MetaMask/go-did-it
|
go get code.sonr.org/go/did-it
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@@ -52,10 +52,10 @@ import (
|
|||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/MetaMask/go-did-it"
|
"code.sonr.org/go/did-it"
|
||||||
|
|
||||||
// 0) Import the methods you want to support
|
// 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() {
|
func main() {
|
||||||
@@ -90,11 +90,11 @@ import (
|
|||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/MetaMask/go-did-it"
|
"code.sonr.org/go/did-it"
|
||||||
"github.com/MetaMask/go-did-it/crypto/x25519"
|
"code.sonr.org/go/did-it/crypto/x25519"
|
||||||
|
|
||||||
// 0) Import the methods you want to support
|
// 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() {
|
func main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user