aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--anime/README.md4
-rw-r--r--manga/README.md4
-rw-r--r--user/README.md2
-rw-r--r--user/anime/README.md4
-rw-r--r--user/anime/animelist.go6
-rw-r--r--user/anime/animelist.structs.go2
-rw-r--r--user/anime/client.go2
-rw-r--r--user/anime/request_handler.go2
-rw-r--r--user/anime/update_animelist.go2
-rw-r--r--user/manga/README.md4
10 files changed, 16 insertions, 16 deletions
diff --git a/anime/README.md b/anime/README.md
index a4cb2db..84c3cf1 100644
--- a/anime/README.md
+++ b/anime/README.md
@@ -6,14 +6,14 @@ To *update* anime status (score, status, etc) refer to [`user/anime`](../user/an
## Installation
In a terminal, run
``` fish
-go get "github.com/MikunoNaka/MAL2Go/anime"
+go get "github.com/MikunoNaka/MAL2Go/v2/anime"
```
## Usage
Firstly, import this package and instanciate the client.
``` go
import (
- "github.com/MikunoNaka/MAL2Go/anime"
+ "github.com/MikunoNaka/MAL2Go/v2/anime"
)
```
diff --git a/manga/README.md b/manga/README.md
index f7bf690..f3ad654 100644
--- a/manga/README.md
+++ b/manga/README.md
@@ -6,14 +6,14 @@ To *update* manga status (score, status, etc) refer to [`user/manga`](../user/ma
## Installation
In a terminal, run
``` fish
-go get "github.com/MikunoNaka/MAL2Go/manga"
+go get "github.com/MikunoNaka/MAL2Go/v2/manga"
```
## Usage
Firstly, import this package and instanciate the client.
``` go
import (
- "github.com/MikunoNaka/MAL2Go/manga"
+ "github.com/MikunoNaka/MAL2Go/v2/manga"
)
```
diff --git a/user/README.md b/user/README.md
index 503f4da..2717835 100644
--- a/user/README.md
+++ b/user/README.md
@@ -5,7 +5,7 @@ MAL2Go `user` package has functionality related to getting data about the authen
Firstly, import this package and instanciate the client.
``` go
import (
- "github.com/MikunoNaka/MAL2Go/user"
+ "github.com/MikunoNaka/MAL2Go/v2/user"
)
```
diff --git a/user/anime/README.md b/user/anime/README.md
index 80ce4e6..4b8bfe8 100644
--- a/user/anime/README.md
+++ b/user/anime/README.md
@@ -8,14 +8,14 @@ To *get* anime data, refer to the [`anime`](../../anime) package.
## Installation
In a terminal, run
``` fish
-go get "github.com/MikunoNaka/MAL2Go/user/anime"
+go get "github.com/MikunoNaka/MAL2Go/v2/user/anime"
```
## Usage
Firstly, import this package and instanciate the client.
``` go
import (
- "github.com/MikunoNaka/MAL2Go/user/anime"
+ "github.com/MikunoNaka/MAL2Go/v2/user/anime"
)
```
diff --git a/user/anime/animelist.go b/user/anime/animelist.go
index 321e6d0..d7a5b41 100644
--- a/user/anime/animelist.go
+++ b/user/anime/animelist.go
@@ -20,9 +20,9 @@ import (
"encoding/json"
"strconv"
"fmt"
- a "github.com/MikunoNaka/MAL2Go/anime"
- e "github.com/MikunoNaka/MAL2Go/errhandlers"
- u "github.com/MikunoNaka/MAL2Go/util"
+ a "github.com/MikunoNaka/MAL2Go/v2/anime"
+ e "github.com/MikunoNaka/MAL2Go/v2/errhandlers"
+ u "github.com/MikunoNaka/MAL2Go/v2/util"
)
const BASE_URL string = "https://api.myanimelist.net/v2"
diff --git a/user/anime/animelist.structs.go b/user/anime/animelist.structs.go
index c727d97..9f83f82 100644
--- a/user/anime/animelist.structs.go
+++ b/user/anime/animelist.structs.go
@@ -17,7 +17,7 @@
package anime
import (
- "github.com/MikunoNaka/MAL2Go/anime"
+ "github.com/MikunoNaka/MAL2Go/v2/anime"
)
type animeListRaw struct {
diff --git a/user/anime/client.go b/user/anime/client.go
index e857df2..090571b 100644
--- a/user/anime/client.go
+++ b/user/anime/client.go
@@ -17,7 +17,7 @@
package anime
import (
- "github.com/MikunoNaka/MAL2Go/util"
+ "github.com/MikunoNaka/MAL2Go/v2/util"
)
type Client util.DefaultClient
diff --git a/user/anime/request_handler.go b/user/anime/request_handler.go
index 45bfe83..f2f6707 100644
--- a/user/anime/request_handler.go
+++ b/user/anime/request_handler.go
@@ -24,7 +24,7 @@ import (
"strconv"
"strings"
"errors"
- "github.com/MikunoNaka/MAL2Go/util"
+ "github.com/MikunoNaka/MAL2Go/v2/util"
)
type UpdateResponse struct {
diff --git a/user/anime/update_animelist.go b/user/anime/update_animelist.go
index ec0d60d..d8c936a 100644
--- a/user/anime/update_animelist.go
+++ b/user/anime/update_animelist.go
@@ -16,7 +16,7 @@
package anime
import (
- e "github.com/MikunoNaka/MAL2Go/errhandlers"
+ e "github.com/MikunoNaka/MAL2Go/v2/errhandlers"
"fmt"
"net/url"
"strconv"
diff --git a/user/manga/README.md b/user/manga/README.md
index db4ed5c..01fc8f0 100644
--- a/user/manga/README.md
+++ b/user/manga/README.md
@@ -8,14 +8,14 @@ To *get* anime data, refer to the [`manga`](../../manga) package.
## Installation
In a terminal, run
``` fish
-go get "github.com/MikunoNaka/MAL2Go/user/manga"
+go get "github.com/MikunoNaka/MAL2Go/v2/user/manga"
```
## Usage
Firstly, import this package and instanciate the client.
``` go
import (
- "github.com/MikunoNaka/MAL2Go/user/manga"
+ "github.com/MikunoNaka/MAL2Go/v2/user/manga"
)
```