aboutsummaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-29 22:51:43 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-29 22:51:43 +0530
commit942f1f1be027a536b6a152caadd85a7af1a1fdd4 (patch)
treeb0b60359b7d27d2e69cafd15ab4963c6e3d62264 /user
parent7215c7f3bb6ae6e9c5c240be1f0429fb2fafab28 (diff)
fixed all bad imports importing older version
Diffstat (limited to 'user')
-rw-r--r--user/client.go2
-rw-r--r--user/manga/client.go2
-rw-r--r--user/manga/mangalist.go6
-rw-r--r--user/manga/mangalist.structs.go2
-rw-r--r--user/manga/request_handler.go2
-rw-r--r--user/manga/update_mangalist.go2
-rw-r--r--user/request_handler.go2
7 files changed, 9 insertions, 9 deletions
diff --git a/user/client.go b/user/client.go
index 8a1105e..32bdc34 100644
--- a/user/client.go
+++ b/user/client.go
@@ -17,7 +17,7 @@
package user
import (
- "github.com/MikunoNaka/MAL2Go/util"
+ "github.com/MikunoNaka/MAL2Go/v2/util"
)
type Client util.DefaultClient
diff --git a/user/manga/client.go b/user/manga/client.go
index 272bfff..4622835 100644
--- a/user/manga/client.go
+++ b/user/manga/client.go
@@ -17,7 +17,7 @@
package manga
import (
- "github.com/MikunoNaka/MAL2Go/util"
+ "github.com/MikunoNaka/MAL2Go/v2/util"
)
type Client util.DefaultClient
diff --git a/user/manga/mangalist.go b/user/manga/mangalist.go
index b60b1d7..7d7cadc 100644
--- a/user/manga/mangalist.go
+++ b/user/manga/mangalist.go
@@ -20,9 +20,9 @@ import (
"encoding/json"
"strconv"
"fmt"
- e "github.com/MikunoNaka/MAL2Go/errhandlers"
- u "github.com/MikunoNaka/MAL2Go/util"
- m "github.com/MikunoNaka/MAL2Go/manga"
+ e "github.com/MikunoNaka/MAL2Go/v2/errhandlers"
+ u "github.com/MikunoNaka/MAL2Go/v2/util"
+ m "github.com/MikunoNaka/MAL2Go/v2/manga"
)
const BASE_URL string = "https://api.myanimelist.net/v2"
diff --git a/user/manga/mangalist.structs.go b/user/manga/mangalist.structs.go
index d7e5352..7b69586 100644
--- a/user/manga/mangalist.structs.go
+++ b/user/manga/mangalist.structs.go
@@ -17,7 +17,7 @@
package manga
import (
- "github.com/MikunoNaka/MAL2Go/manga"
+ "github.com/MikunoNaka/MAL2Go/v2/manga"
)
type mangaListRaw struct {
diff --git a/user/manga/request_handler.go b/user/manga/request_handler.go
index 0258b38..edd8de6 100644
--- a/user/manga/request_handler.go
+++ b/user/manga/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/manga/update_mangalist.go b/user/manga/update_mangalist.go
index b60bfd0..7d488dc 100644
--- a/user/manga/update_mangalist.go
+++ b/user/manga/update_mangalist.go
@@ -16,7 +16,7 @@
package manga
import (
- e "github.com/MikunoNaka/MAL2Go/errhandlers"
+ e "github.com/MikunoNaka/MAL2Go/v2/errhandlers"
"fmt"
"net/url"
"strconv"
diff --git a/user/request_handler.go b/user/request_handler.go
index b401fc1..d2e1c34 100644
--- a/user/request_handler.go
+++ b/user/request_handler.go
@@ -20,7 +20,7 @@ import (
"io/ioutil"
"log"
"net/http"
- "github.com/MikunoNaka/MAL2Go/util"
+ "github.com/MikunoNaka/MAL2Go/v2/util"
"errors"
"encoding/json"
)