aboutsummaryrefslogtreecommitdiff
path: root/user/anime
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-07-20 17:27:16 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-07-20 17:27:16 +0530
commite9e2257133f7c8ec9e8204570f33395d74ebe175 (patch)
tree2579ccdaa7dec03d79c9cece323f6a46f43118b6 /user/anime
parent017da9a33339fec2423e365c7b8c872e27b5bd21 (diff)
changed import paths to own git serverHEADv4.0.1master
Diffstat (limited to 'user/anime')
-rw-r--r--user/anime/README.md20
-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
6 files changed, 7 insertions, 27 deletions
diff --git a/user/anime/README.md b/user/anime/README.md
deleted file mode 100644
index df3449f..0000000
--- a/user/anime/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# MAL2Go/user/anime
-MAL2Go `user/anime` package has functionality related to updating the user's anime list.
-
-To *get* anime data, refer to the [`anime`](../../anime) package.
-
-## Structure
-- [animelist.go](animelist.go)
-Contains the exported functions to do some basic functions with anime lists.
-
-- [animelist.structs.go](animelist.structs.go)
-Contains all the structs representing animelist 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_animelist.go](update_animelist.go)
-Contains all the exported functions to update an anime entry in user's animelist.
diff --git a/user/anime/animelist.go b/user/anime/animelist.go
index 3ed101e..c876943 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/v4/anime"
- e "github.com/MikunoNaka/MAL2Go/v4/errhandlers"
- u "github.com/MikunoNaka/MAL2Go/v4/util"
+ a "dev.vidhukant.xyz/MAL2Go/v4/anime"
+ e "dev.vidhukant.xyz/MAL2Go/v4/errhandlers"
+ u "dev.vidhukant.xyz/MAL2Go/v4/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 6f2417b..de7c4c9 100644
--- a/user/anime/animelist.structs.go
+++ b/user/anime/animelist.structs.go
@@ -17,7 +17,7 @@
package anime
import (
- "github.com/MikunoNaka/MAL2Go/v4/anime"
+ "dev.vidhukant.xyz/MAL2Go/v4/anime"
)
type animeListRaw struct {
diff --git a/user/anime/client.go b/user/anime/client.go
index aa4962f..145620d 100644
--- a/user/anime/client.go
+++ b/user/anime/client.go
@@ -17,7 +17,7 @@
package anime
import (
- "github.com/MikunoNaka/MAL2Go/v4/util"
+ "dev.vidhukant.xyz/MAL2Go/v4/util"
)
type Client util.DefaultClient
diff --git a/user/anime/request_handler.go b/user/anime/request_handler.go
index 9ca1cb4..4b9232a 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/v4/util"
+ "dev.vidhukant.xyz/MAL2Go/v4/util"
)
type UpdateResponse struct {
diff --git a/user/anime/update_animelist.go b/user/anime/update_animelist.go
index dfec5e7..bf57883 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/v4/errhandlers"
+ e "dev.vidhukant.xyz/MAL2Go/v4/errhandlers"
"fmt"
"net/url"
"strconv"