aboutsummaryrefslogtreecommitdiff
path: root/user/manga
diff options
context:
space:
mode:
Diffstat (limited to 'user/manga')
-rw-r--r--user/manga/README.md20
-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
6 files changed, 7 insertions, 27 deletions
diff --git a/user/manga/README.md b/user/manga/README.md
deleted file mode 100644
index cc93d9a..0000000
--- a/user/manga/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# MAL2Go/user/manga
-MAL2Go `user/manga` package has functionality related to updating the user's manga list.
-
-To *get* manga data, refer to the [`manga`](../../manga) package.
-
-## Structure
-- [mangalist.go](mangalist.go)
-Contains the exported functions to do some basic functions with manga lists.
-
-- [mangalist.structs.go](mangalist.structs.go)
-Contains all the structs representing mangalist data pulled from MyAnimeList.
-
-- [client.go](client.go)
-The Client for accessing the API with this package.
-
-- [request_handler.go](request_handler.go)
-Responsible for making HTTP requests
-
-- [update_mangalist.go](update_mangalist.go)
-Contains all the exported functions to update a manga entry in user's mangalist.
diff --git a/user/manga/client.go b/user/manga/client.go
index b674854..940a9c5 100644
--- a/user/manga/client.go
+++ b/user/manga/client.go
@@ -17,7 +17,7 @@
package manga
import (
- "github.com/MikunoNaka/MAL2Go/v4/util"
+ "dev.vidhukant.xyz/MAL2Go/v4/util"
)
type Client util.DefaultClient
diff --git a/user/manga/mangalist.go b/user/manga/mangalist.go
index 91531b8..226849b 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/v4/errhandlers"
- u "github.com/MikunoNaka/MAL2Go/v4/util"
- m "github.com/MikunoNaka/MAL2Go/v4/manga"
+ e "dev.vidhukant.xyz/MAL2Go/v4/errhandlers"
+ u "dev.vidhukant.xyz/MAL2Go/v4/util"
+ m "dev.vidhukant.xyz/MAL2Go/v4/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 f7cf97d..b773b17 100644
--- a/user/manga/mangalist.structs.go
+++ b/user/manga/mangalist.structs.go
@@ -17,7 +17,7 @@
package manga
import (
- "github.com/MikunoNaka/MAL2Go/v4/manga"
+ "dev.vidhukant.xyz/MAL2Go/v4/manga"
)
type mangaListRaw struct {
diff --git a/user/manga/request_handler.go b/user/manga/request_handler.go
index be7ff17..72cd906 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/v4/util"
+ "dev.vidhukant.xyz/MAL2Go/v4/util"
)
type UpdateResponse struct {
diff --git a/user/manga/update_mangalist.go b/user/manga/update_mangalist.go
index 5dda7b4..bf02d6d 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/v4/errhandlers"
+ e "dev.vidhukant.xyz/MAL2Go/v4/errhandlers"
"fmt"
"net/url"
"strconv"