aboutsummaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-29 22:58:14 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-29 22:58:14 +0530
commit0c369e01d7da80edc0d1e296fde6336cf3de17df (patch)
tree4cf1812cf22ab45b89960dcf86a428c681bdde4f /user
parent942f1f1be027a536b6a152caadd85a7af1a1fdd4 (diff)
ACTUALLY fixed all bad imports importing older version
Diffstat (limited to 'user')
-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
8 files changed, 12 insertions, 12 deletions
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"
)
```