aboutsummaryrefslogtreecommitdiff
path: root/anime
diff options
context:
space:
mode:
Diffstat (limited to 'anime')
-rw-r--r--anime/README.md29
-rw-r--r--anime/anime.go4
-rw-r--r--anime/anime.structs.go2
-rw-r--r--anime/client.go2
-rw-r--r--anime/request_handler.go2
5 files changed, 5 insertions, 34 deletions
diff --git a/anime/README.md b/anime/README.md
deleted file mode 100644
index 46d7c2c..0000000
--- a/anime/README.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# MAL2Go/anime
-MAL2Go `anime` package has functionality related to getting data about anime.
-
-To *update* anime status (score, status, etc) refer to [`user/anime`](../user/anime) package.
-
-## Structure
-- [anime.go](anime.go)
-Contains all the exported functions for pulling data from the API.
-
-- [anime.structs.go](anime.structs.go)
-Contains all the structs representing an anime entry on MyAnimeList.
-
-- [client.go](client.go)
-The Client for accessing the API with this package.
-
-- [ranking.structs.go](ranking.structs.go)
-Representing anime ranking data both in the form returned by the API and the formatted form to be returned by this package.
-
-- [request_handler.go](request_handler.go)
-Responsible for making HTTP requests
-
-- [search.structs.go](search.structs.go)
-Representing search results.
-
-- [seasonal.structs.go](seasonal.structs.go)
-Representing seasonal anime list.
-
-- [suggestedanime.structs.go](suggestedanime.structs.go)
-Representing suggested anime data.
diff --git a/anime/anime.go b/anime/anime.go
index 794ab19..2d87e04 100644
--- a/anime/anime.go
+++ b/anime/anime.go
@@ -20,8 +20,8 @@ import (
"encoding/json"
"fmt"
"strconv"
- e "github.com/MikunoNaka/MAL2Go/v4/errhandlers"
- u "github.com/MikunoNaka/MAL2Go/v4/util"
+ e "dev.vidhukant.xyz/MAL2Go/v4/errhandlers"
+ u "dev.vidhukant.xyz/MAL2Go/v4/util"
)
const BASE_URL string = "https://api.myanimelist.net/v2/anime"
diff --git a/anime/anime.structs.go b/anime/anime.structs.go
index 3db166a..611bcce 100644
--- a/anime/anime.structs.go
+++ b/anime/anime.structs.go
@@ -17,7 +17,7 @@
package anime
import (
- u "github.com/MikunoNaka/MAL2Go/v4/util"
+ u "dev.vidhukant.xyz/MAL2Go/v4/util"
)
type AnimeStatistics struct {
diff --git a/anime/client.go b/anime/client.go
index aa4962f..145620d 100644
--- a/anime/client.go
+++ b/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/anime/request_handler.go b/anime/request_handler.go
index 0da337e..c6fff43 100644
--- a/anime/request_handler.go
+++ b/anime/request_handler.go
@@ -21,7 +21,7 @@ import (
"log"
"net/http"
"encoding/json"
- "github.com/MikunoNaka/MAL2Go/v4/util"
+ "dev.vidhukant.xyz/MAL2Go/v4/util"
"errors"
)