Skip to content

Commit

Permalink
Fix module path #1
Browse files Browse the repository at this point in the history
Replaced from zaebee/govalent to AlchemistsLab/govalent
  • Loading branch information
zaebee committed May 25, 2021
1 parent ee424e5 commit 2fc9cc8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ govalent is a go client library for Covalent Rest APIs
## Installation

```sh
go get github.com/zaebee/govalent
go get github.com/AlchemistsLab/govalent
```

### Usage without a Client
Expand All @@ -14,7 +14,7 @@ If you are dealing with one account. There is no need to create a new client. yo

```go
import (
"github.com/zaebee/govalent"
"github.com/AlchemistsLab/govalent"
)

// Setup
Expand All @@ -33,7 +33,7 @@ If you are dealing with multiple accounts. You can create a new `govalent.Client

```go
import (
"github.com/zaebee/govalent"
"github.com/AlchemistsLab/govalent"
)
covalentClient := govalent.Client{}
covalentClient.Init("YOUR_API_KEY")
Expand All @@ -51,8 +51,8 @@ fmt.Printf("%v", info)

```go
import (
"github.com/zaebee/govalent"
"github.com/zaebee/govalent/class_a"
"github.com/AlchemistsLab/govalent"
"github.com/AlchemistsLab/govalent/class_a"
)

balanceParams := class_a.BalanceParams{
Expand All @@ -71,7 +71,7 @@ fmt.Printf("%v", p)

```go
import (
"github.com/zaebee/govalent"
"github.com/AlchemistsLab/govalent"
)

p, err := govalent.ClassA().GetHistoricalPortfolio("56", "0xb1b3f0e569a19E407cEb7bFAEA3486F0D9d2488B")
Expand All @@ -86,7 +86,7 @@ fmt.Printf("%v", p)

```go
import (
"github.com/zaebee/govalent"
"github.com/AlchemistsLab/govalent"
)

p, err := govalent.ClassA().GetTransactions("56", "0xb1b3f0e569a19E407cEb7bFAEA3486F0D9d2488B")
Expand All @@ -101,8 +101,8 @@ fmt.Printf("%v", p)

```go
import (
"github.com/zaebee/govalent"
"github.com/zaebee/govalent/class_a"
"github.com/AlchemistsLab/govalent"
"github.com/AlchemistsLab/govalent/class_a"
)

params := class_a.TransferParams{
Expand Down
2 changes: 1 addition & 1 deletion class_a/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package class_a

import (
"fmt"
"github.com/zaebee/govalent/client"
"github.com/AlchemistsLab/govalent/client"
)

type Client struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/zaebee/govalent
module github.com/AlchemistsLab/govalent

go 1.16

Expand Down
4 changes: 2 additions & 2 deletions govalent.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
package govalent

import (
"github.com/zaebee/govalent/class_a"
"github.com/zaebee/govalent/client"
"github.com/AlchemistsLab/govalent/class_a"
"github.com/AlchemistsLab/govalent/client"
"net/http"
"time"
)
Expand Down

0 comments on commit 2fc9cc8

Please sign in to comment.