diff --git a/README.md b/README.md index cc99c1c..019bdc2 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This package is inspired by https://github.com/omani/go-monero-rpc-client. ## Wallet RPC Client -[![GoDoc](https://godoc.org/chekist32/go-monero/wallet?status.svg)](https://godoc.org/chekist32/go-monero/wallet) +[![GoDoc](https://godoc.org/github.com/chekist32/go-monero/wallet?status.svg)](https://godoc.org/github.com/chekist32/go-monero/wallet) ### Monero RPC Version The ```go-monero/wallet``` package is the RPC client for version `v1.3` of the [Monero Wallet RPC](https://www.getmonero.org/resources/developer-guides/wallet-rpc.html). @@ -18,7 +18,7 @@ The ```go-monero/wallet``` package is the RPC client for version `v1.3` of the [ ### Installation ```sh -go get -u chekist32/go-monero +go get -u github.com/chekist32/go-monero ``` #### Spawn the monero-wallet-rpc daemon (without rpc login): @@ -38,7 +38,7 @@ import ( "fmt" "log" - "chekist32/go-monero/wallet" + "github.com/chekist32/go-monero/wallet" ) func checkerr(err error) { @@ -88,7 +88,7 @@ import ( "fmt" "log" - "chekist32/go-monero/wallet" + "github.com/chekist32/go-monero/wallet" ) func checkerr(err error) { @@ -128,16 +128,16 @@ func main() { ## Daemon RPC Client -[![GoDoc](https://godoc.org/chekist32/go-monero/wallet?status.svg)](https://godoc.org/chekist32/go-monero/daemon) +[![GoDoc](https://godoc.org/github.com/chekist32/go-monero/wallet?status.svg)](https://godoc.org/github.com/chekist32/go-monero/daemon) -Here is a [List of implemented methods.](https://chekist32/go-monero/issues/3) +Here is a [List of implemented methods.](https://github.com/chekist32/go-monero/issues/3) **Go code:** ```Go package main import ( - "chekist32/go-monero/daemon" + "github.com/chekist32/go-monero/daemon" "fmt" "log" "net/url" @@ -162,7 +162,7 @@ func main() { ## Monero Utils -[![GoDoc](https://godoc.org/chekist32/go-monero/wallet?status.svg)](https://godoc.org/chekist32/go-monero/utils) +[![GoDoc](https://godoc.org/github.com/chekist32/go-monero/wallet?status.svg)](https://godoc.org/github.com/chekist32/go-monero/utils) This package contains helper methods that can be used for different cases, such as subaddress generation and tx output decryption. @@ -171,7 +171,7 @@ This package contains helper methods that can be used for different cases, such package main import ( - "chekist32/go-monero/utils" + "github.com/chekist32/go-monero/utils" "fmt" "log" ) diff --git a/daemon/daemon.go b/daemon/daemon.go index 9dfe38f..01c3ad6 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -7,7 +7,7 @@ import ( "io" "net/http" - "chekist32/go-monero/utils" + "github.com/chekist32/go-monero/utils" "github.com/icholy/digest" ) diff --git a/go.mod b/go.mod index 531e56b..d146469 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module chekist32/go-monero +module github.com/chekist32/go-monero go 1.20 diff --git a/test/integration/daemon_test.go b/test/integration/daemon_test.go index fc64a54..7867557 100644 --- a/test/integration/daemon_test.go +++ b/test/integration/daemon_test.go @@ -1,7 +1,6 @@ package test import ( - "chekist32/go-monero/daemon" "context" "errors" "net/url" @@ -10,6 +9,8 @@ import ( "sync" "testing" + "github.com/chekist32/go-monero/daemon" + "github.com/stretchr/testify/assert" "github.com/testcontainers/testcontainers-go" "github.com/testcontainers/testcontainers-go/wait" diff --git a/test/performance/tx_scan_test.go b/test/performance/tx_scan_test.go index 441d3cd..eb85db1 100644 --- a/test/performance/tx_scan_test.go +++ b/test/performance/tx_scan_test.go @@ -1,12 +1,13 @@ package test import ( - "chekist32/go-monero/daemon" - "chekist32/go-monero/utils" "encoding/json" "log" "os" "testing" + + "github.com/chekist32/go-monero/daemon" + "github.com/chekist32/go-monero/utils" ) func addresses(addrs []string) ([]utils.MoneroAddress, error) { diff --git a/test/unit/address_test.go b/test/unit/address_test.go index e89e375..0174f36 100644 --- a/test/unit/address_test.go +++ b/test/unit/address_test.go @@ -1,10 +1,11 @@ package test import ( - "chekist32/go-monero/utils" "encoding/hex" "testing" + "github.com/chekist32/go-monero/utils" + "github.com/stretchr/testify/assert" ) diff --git a/test/unit/daemon_test.go b/test/unit/daemon_test.go index ccece4d..926f358 100644 --- a/test/unit/daemon_test.go +++ b/test/unit/daemon_test.go @@ -9,7 +9,7 @@ import ( "reflect" "testing" - "chekist32/go-monero/daemon" + "github.com/chekist32/go-monero/daemon" "github.com/stretchr/testify/assert" ) diff --git a/test/unit/key_test.go b/test/unit/key_test.go index 62ca873..f011f3d 100644 --- a/test/unit/key_test.go +++ b/test/unit/key_test.go @@ -1,10 +1,11 @@ package test import ( - "chekist32/go-monero/utils" "encoding/hex" "testing" + "github.com/chekist32/go-monero/utils" + "github.com/stretchr/testify/assert" ) diff --git a/test/unit/utils_test.go b/test/unit/utils_test.go index 752867f..bc08c8f 100644 --- a/test/unit/utils_test.go +++ b/test/unit/utils_test.go @@ -1,10 +1,11 @@ package test import ( - "chekist32/go-monero/utils" "encoding/hex" "testing" + "github.com/chekist32/go-monero/utils" + "github.com/stretchr/testify/assert" )