diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index ab1a987..2dcdee0 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -31,3 +31,35 @@ updates:
labels:
- "chore"
open-pull-requests-limit: 10
+
+ # Maintain dependencies for the core library (deprecated V1)
+ - package-ecosystem: "gomod"
+ target-branch: "v1"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ time: "10:00"
+ timezone: "UTC"
+ reviewers:
+ - "mrz1836"
+ assignees:
+ - "mrz1836"
+ labels:
+ - "chore"
+ open-pull-requests-limit: 10
+
+ # Maintain dependencies for GitHub Actions (deprecated V1)
+ - package-ecosystem: "github-actions"
+ target-branch: "v1"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ day: "monday"
+ reviewers:
+ - "mrz1836"
+ assignees:
+ - "mrz1836"
+ labels:
+ - "chore"
+ open-pull-requests-limit: 10
+
diff --git a/.github/mergify.yml b/.github/mergify.yml
index 87adcfd..471fd76 100644
--- a/.github/mergify.yml
+++ b/.github/mergify.yml
@@ -8,8 +8,6 @@ pull_request_rules:
conditions:
- -draft
- author~=^dependabot(|-preview)\[bot\]$
- - check-success='test (1.15.x, ubuntu-latest)'
- - check-success='test (1.16.x, ubuntu-latest)'
- check-success='test (1.17.x, ubuntu-latest)'
- check-success='Analyze (go)'
- title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
@@ -22,8 +20,6 @@ pull_request_rules:
- name: Alert on major version detection
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- - check-success='test (1.15.x, ubuntu-latest)'
- - check-success='test (1.16.x, ubuntu-latest)'
- check-success='test (1.17.x, ubuntu-latest)'
- check-success='Analyze (go)'
- -title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
@@ -38,8 +34,6 @@ pull_request_rules:
- name: Automatic Merge ⬇️ on Approval ✔
conditions:
- "#approved-reviews-by>=1"
- - check-success='test (1.15.x, ubuntu-latest)'
- - check-success='test (1.16.x, ubuntu-latest)'
- check-success='test (1.17.x, ubuntu-latest)'
- check-success='Analyze (go)'
- label!=work-in-progress
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 53db5a2..fd215ce 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -17,7 +17,7 @@ jobs:
test:
strategy:
matrix:
- go-version: [ 1.15.x, 1.16.x, 1.17.x ]
+ go-version: [ 1.17.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
diff --git a/README.md b/README.md
index 6cd87fb..b0606a5 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,16 @@
# go-bitcoin
> A library for working with Bitcoin (BSV) transactions, addresses, keys, encryption, and more.
-[![Release](https://img.shields.io/github/release-pre/BitcoinSchema/go-bitcoin.svg?logo=github&style=flat&v=4)](https://github.com/BitcoinSchema/go-bitcoin/releases)
-[![Build Status](https://img.shields.io/github/workflow/status/BitcoinSchema/go-bitcoin/run-go-tests?logo=github&v=3)](https://github.com/BitcoinSchema/go-bitcoin/actions)
-[![Report](https://goreportcard.com/badge/github.com/BitcoinSchema/go-bitcoin?style=flat&v=4)](https://goreportcard.com/report/github.com/BitcoinSchema/go-bitcoin)
-[![codecov](https://codecov.io/gh/BitcoinSchema/go-bitcoin/branch/master/graph/badge.svg?v=4)](https://codecov.io/gh/BitcoinSchema/go-bitcoin)
-[![Go](https://img.shields.io/github/go-mod/go-version/BitcoinSchema/go-bitcoin?v=4)](https://golang.org/)
+[![Release](https://img.shields.io/github/release-pre/BitcoinSchema/go-bitcoin.svg?logo=github&style=flat&v=2)](https://github.com/BitcoinSchema/go-bitcoin/releases)
+[![Build Status](https://img.shields.io/github/workflow/status/BitcoinSchema/go-bitcoin/run-go-tests?logo=github&v=2)](https://github.com/BitcoinSchema/go-bitcoin/actions)
+[![Report](https://goreportcard.com/badge/github.com/BitcoinSchema/go-bitcoin?style=flat&v=2)](https://goreportcard.com/report/github.com/BitcoinSchema/go-bitcoin)
+[![codecov](https://codecov.io/gh/BitcoinSchema/go-bitcoin/branch/master/graph/badge.svg?v=2)](https://codecov.io/gh/BitcoinSchema/go-bitcoin)
+[![Go](https://img.shields.io/github/go-mod/go-version/BitcoinSchema/go-bitcoin?v=2)](https://golang.org/)
-[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/BitcoinSchema/go-bitcoin)
-[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/BitcoinSchema/go-bitcoin&style=flat&v=4)](https://mergify.io)
-[![Sponsor](https://img.shields.io/badge/sponsor-BitcoinSchema-181717.svg?logo=github&style=flat&v=4)](https://github.com/sponsors/BitcoinSchema)
-[![Donate](https://img.shields.io/badge/donate-bitcoin-ff9900.svg?logo=bitcoin&style=flat&v=4)](https://gobitcoinsv.com/#sponsor?utm_source=github&utm_medium=sponsor-link&utm_campaign=go-bitcoin&utm_term=go-bitcoin&utm_content=go-bitcoin)
+[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&v=2)](https://gitpod.io/#https://github.com/BitcoinSchema/go-bitcoin)
+[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/BitcoinSchema/go-bitcoin&style=flat&v=2)](https://mergify.io)
+[![Sponsor](https://img.shields.io/badge/sponsor-BitcoinSchema-181717.svg?logo=github&style=flat&v=2)](https://github.com/sponsors/BitcoinSchema)
+[![Donate](https://img.shields.io/badge/donate-bitcoin-ff9900.svg?logo=bitcoin&style=flat&v=2)](https://gobitcoinsv.com/#sponsor?utm_source=github&utm_medium=sponsor-link&utm_campaign=go-bitcoin&utm_term=go-bitcoin&utm_content=go-bitcoin)
@@ -33,7 +33,12 @@
**go-bitcoin** requires a [supported release of Go](https://golang.org/doc/devel/release.html#policy).
```shell script
-go get -u github.com/bitcoinschema/go-bitcoin
+go get -u github.com/bitcoinschema/go-bitcoin/v2
+```
+
+> If you want to install the **deprecated V1**:
+```shell script
+go get -u github.com/bitcoinschema/go-bitcoin@v1
```
@@ -42,7 +47,7 @@ go get -u github.com/bitcoinschema/go-bitcoin
View the generated [documentation](https://pkg.go.dev/github.com/bitcoinschema/go-bitcoin)
-[![GoDoc](https://godoc.org/github.com/bitcoinschema/go-bitcoin?status.svg&style=flat)](https://pkg.go.dev/github.com/bitcoinschema/go-bitcoin)
+[![GoDoc](https://godoc.org/github.com/bitcoinschema/go-bitcoin/?status.svg&style=flat)](https://pkg.go.dev/github.com/bitcoinschema/go-bitcoin)
### Features
@@ -156,7 +161,7 @@ vet Run the Go vet application
## Examples & Tests
All unit tests and [examples](examples) run via [Github Actions](https://github.com/BitcoinSchema/go-bitcoin/actions) and
-uses [Go version 1.15.x](https://golang.org/doc/go1.15). View the [configuration file](.github/workflows/run-tests.yml).
+uses [Go version 1.17.x](https://golang.org/doc/go1.17). View the [configuration file](.github/workflows/run-tests.yml).
Run all tests (including integration tests)
@@ -196,9 +201,9 @@ Checkout all the [examples](examples)!
## Maintainers
-| [](https://github.com/rohenaz) | [](https://github.com/mrz1836) |
-| :----------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------: |
-| [Satchmo](https://github.com/rohenaz) | [MrZ](https://github.com/mrz1836) |
+| [](https://github.com/mrz1836) | [](https://github.com/rohenaz) |
+|:------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------:|
+| [MrZ](https://github.com/mrz1836) | [Satchmo](https://github.com/rohenaz) |
@@ -219,4 +224,4 @@ or by making a [**bitcoin donation**](https://gobitcoinsv.com/#sponsor?utm_sourc
## License
-[![License](https://img.shields.io/github/license/BitcoinSchema/go-bitcoin.svg?style=flat&v=4)](LICENSE)
+[![License](https://img.shields.io/github/license/BitcoinSchema/go-bitcoin.svg?style=flat&v=2)](LICENSE)
diff --git a/examples/address_from_private_key/address_from_private_key.go b/examples/address_from_private_key/address_from_private_key.go
index 6864be2..3a250c6 100644
--- a/examples/address_from_private_key/address_from_private_key.go
+++ b/examples/address_from_private_key/address_from_private_key.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/address_from_wif/address_from_wif.go b/examples/address_from_wif/address_from_wif.go
index 89212d7..51f77a5 100644
--- a/examples/address_from_wif/address_from_wif.go
+++ b/examples/address_from_wif/address_from_wif.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/calculate_fee_for_tx/calculate_fee_for_tx.go b/examples/calculate_fee_for_tx/calculate_fee_for_tx.go
index d783e2f..790ed6f 100644
--- a/examples/calculate_fee_for_tx/calculate_fee_for_tx.go
+++ b/examples/calculate_fee_for_tx/calculate_fee_for_tx.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/create_pubkey/create_pubkey.go b/examples/create_pubkey/create_pubkey.go
index 359fc26..5aced2e 100644
--- a/examples/create_pubkey/create_pubkey.go
+++ b/examples/create_pubkey/create_pubkey.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/create_tx/create_tx.go b/examples/create_tx/create_tx.go
index bab8d2c..038ff04 100644
--- a/examples/create_tx/create_tx.go
+++ b/examples/create_tx/create_tx.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
"github.com/libsv/go-bt"
)
diff --git a/examples/create_tx_using_wif/create_tx_using_wif.go b/examples/create_tx_using_wif/create_tx_using_wif.go
index 83b8194..f020342 100644
--- a/examples/create_tx_using_wif/create_tx_using_wif.go
+++ b/examples/create_tx_using_wif/create_tx_using_wif.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/create_tx_with_change/create_tx_with_change.go b/examples/create_tx_with_change/create_tx_with_change.go
index 4b28d0c..5ca802a 100644
--- a/examples/create_tx_with_change/create_tx_with_change.go
+++ b/examples/create_tx_with_change/create_tx_with_change.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/decrypt_with_private_key/decrypt_with_private_key.go b/examples/decrypt_with_private_key/decrypt_with_private_key.go
index d07fb68..25e1947 100644
--- a/examples/decrypt_with_private_key/decrypt_with_private_key.go
+++ b/examples/decrypt_with_private_key/decrypt_with_private_key.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/encrypt_shared_keys/encrypt_shared_keys.go b/examples/encrypt_shared_keys/encrypt_shared_keys.go
index ea27a5f..341cff4 100644
--- a/examples/encrypt_shared_keys/encrypt_shared_keys.go
+++ b/examples/encrypt_shared_keys/encrypt_shared_keys.go
@@ -4,7 +4,7 @@ import (
"encoding/hex"
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
"github.com/bitcoinsv/bsvd/bsvec"
)
diff --git a/examples/encrypt_with_private_key/encrypt_with_private_key.go b/examples/encrypt_with_private_key/encrypt_with_private_key.go
index c17866f..2b12d5c 100644
--- a/examples/encrypt_with_private_key/encrypt_with_private_key.go
+++ b/examples/encrypt_with_private_key/encrypt_with_private_key.go
@@ -4,7 +4,7 @@ import (
"encoding/hex"
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/generate_hd_key/generate_hd_key.go b/examples/generate_hd_key/generate_hd_key.go
index a1e143a..76be51c 100644
--- a/examples/generate_hd_key/generate_hd_key.go
+++ b/examples/generate_hd_key/generate_hd_key.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/get_address_from_hd_key/get_address_from_hd_key.go b/examples/get_address_from_hd_key/get_address_from_hd_key.go
index 03d0a29..47695ed 100644
--- a/examples/get_address_from_hd_key/get_address_from_hd_key.go
+++ b/examples/get_address_from_hd_key/get_address_from_hd_key.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
"github.com/bitcoinsv/bsvutil"
)
diff --git a/examples/get_addresses_for_path/get_addresses_for_path.go b/examples/get_addresses_for_path/get_addresses_for_path.go
index 2302063..8b8b950 100644
--- a/examples/get_addresses_for_path/get_addresses_for_path.go
+++ b/examples/get_addresses_for_path/get_addresses_for_path.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/get_extended_public_key/get_extended_public_key.go b/examples/get_extended_public_key/get_extended_public_key.go
index 1e00f00..38d35cd 100644
--- a/examples/get_extended_public_key/get_extended_public_key.go
+++ b/examples/get_extended_public_key/get_extended_public_key.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/get_hd_key_from_xpub/get_hd_key_from_xpub.go b/examples/get_hd_key_from_xpub/get_hd_key_from_xpub.go
index e30aa77..90b78d6 100644
--- a/examples/get_hd_key_from_xpub/get_hd_key_from_xpub.go
+++ b/examples/get_hd_key_from_xpub/get_hd_key_from_xpub.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/get_private_key_for_path/get_private_key_for_path.go b/examples/get_private_key_for_path/get_private_key_for_path.go
index 5e207dc..265f708 100644
--- a/examples/get_private_key_for_path/get_private_key_for_path.go
+++ b/examples/get_private_key_for_path/get_private_key_for_path.go
@@ -4,7 +4,7 @@ import (
"encoding/hex"
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
"github.com/bitcoinsv/bsvd/bsvec"
)
diff --git a/examples/get_public_keys_for_path/get_public_keys_for_path.go b/examples/get_public_keys_for_path/get_public_keys_for_path.go
index 3380e1d..a0c29b6 100644
--- a/examples/get_public_keys_for_path/get_public_keys_for_path.go
+++ b/examples/get_public_keys_for_path/get_public_keys_for_path.go
@@ -4,7 +4,7 @@ import (
"encoding/hex"
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
"github.com/bitcoinsv/bsvd/bsvec"
)
diff --git a/examples/private_key_to_wif/private_key_to_wif.go b/examples/private_key_to_wif/private_key_to_wif.go
index e27716c..d4b5fc3 100644
--- a/examples/private_key_to_wif/private_key_to_wif.go
+++ b/examples/private_key_to_wif/private_key_to_wif.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/script_from_address/script_from_address.go b/examples/script_from_address/script_from_address.go
index a38e072..77651b4 100644
--- a/examples/script_from_address/script_from_address.go
+++ b/examples/script_from_address/script_from_address.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/sign_message/sign_message.go b/examples/sign_message/sign_message.go
index c0aa28c..f16f6a4 100644
--- a/examples/sign_message/sign_message.go
+++ b/examples/sign_message/sign_message.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/tx_from_hex/tx_from_hex.go b/examples/tx_from_hex/tx_from_hex.go
index 9cb3714..1d2d73f 100644
--- a/examples/tx_from_hex/tx_from_hex.go
+++ b/examples/tx_from_hex/tx_from_hex.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/verify_signature/verify_signature.go b/examples/verify_signature/verify_signature.go
index 4e55b7e..dfc8f11 100644
--- a/examples/verify_signature/verify_signature.go
+++ b/examples/verify_signature/verify_signature.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/verify_signature_der/verify_signature_der.go b/examples/verify_signature_der/verify_signature_der.go
index 3c6c52d..d67fa1a 100644
--- a/examples/verify_signature_der/verify_signature_der.go
+++ b/examples/verify_signature_der/verify_signature_der.go
@@ -4,7 +4,7 @@ import (
"crypto/sha256"
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/examples/wif_to_private_key/wif_to_private_key.go b/examples/wif_to_private_key/wif_to_private_key.go
index 3cbe5f0..109128c 100644
--- a/examples/wif_to_private_key/wif_to_private_key.go
+++ b/examples/wif_to_private_key/wif_to_private_key.go
@@ -3,7 +3,7 @@ package main
import (
"log"
- "github.com/bitcoinschema/go-bitcoin"
+ "github.com/bitcoinschema/go-bitcoin/v2"
)
func main() {
diff --git a/go.mod b/go.mod
index d966685..e0358aa 100644
--- a/go.mod
+++ b/go.mod
@@ -1,13 +1,12 @@
-module github.com/bitcoinschema/go-bitcoin
+module github.com/bitcoinschema/go-bitcoin/v2
-go 1.15
+go 1.17
require (
- github.com/bitcoinsv/bsvd v0.0.0-20190609155523-4c29707f7173
github.com/bitcoinsv/bsvlog v0.0.0-20181216181007-cb81b076bf2e // indirect
- github.com/bitcoinsv/bsvutil v0.0.0-20181216182056-1d77cf353ea9
github.com/davecgh/go-spew v1.1.1 // indirect
- github.com/libsv/go-bt v1.0.4
- github.com/stretchr/testify v1.7.0
- golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect
+ github.com/libsv/go-bk v0.1.5 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b // indirect
+ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
diff --git a/go.sum b/go.sum
index 3fce8d2..ad2cfa0 100644
--- a/go.sum
+++ b/go.sum
@@ -7,6 +7,8 @@ github.com/bitcoinsv/bsvutil v0.0.0-20181216182056-1d77cf353ea9/go.mod h1:p44KuN
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/libsv/go-bk v0.1.5 h1:fqbWy8nwVM/ayM8Nxe+lM7fN0FaUMMD1w5MCpwit7XQ=
+github.com/libsv/go-bk v0.1.5/go.mod h1:xbDkeFFpP0uyFaPLnP6TwaLpAsHaslZ0LftTdWlB6HI=
github.com/libsv/go-bt v1.0.4 h1:2Css5lfomk/J97tM5Gk56Lp+tTK6xWYnmHNc/fGO6lE=
github.com/libsv/go-bt v1.0.4/go.mod h1:AfXoLFYEbY/TvCq/84xTce2xGjPUuC5imokHmcykF2k=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -16,9 +18,11 @@ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5Cc
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20201208171446-5f87f3452ae9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
-golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 h1:0es+/5331RGQPcXlMfP+WrnIIS6dNnNRe0WB02W0F4M=
-golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
+golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
+golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b h1:QAqMVf3pSa6eeTsuklijukjXBlj7Es2QQplab+/RbQ4=
+golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -28,6 +32,7 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=