diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-07-20 17:27:16 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-07-20 17:27:16 +0530 |
commit | e9e2257133f7c8ec9e8204570f33395d74ebe175 (patch) | |
tree | 2579ccdaa7dec03d79c9cece323f6a46f43118b6 /manga | |
parent | 017da9a33339fec2423e365c7b8c872e27b5bd21 (diff) |
Diffstat (limited to 'manga')
-rw-r--r-- | manga/README.md | 24 | ||||
-rw-r--r-- | manga/client.go | 2 | ||||
-rw-r--r-- | manga/manga.go | 4 | ||||
-rw-r--r-- | manga/manga.structs.go | 4 | ||||
-rw-r--r-- | manga/request_handler.go | 2 |
5 files changed, 6 insertions, 30 deletions
diff --git a/manga/README.md b/manga/README.md deleted file mode 100644 index 43c47b7..0000000 --- a/manga/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# MAL2Go/manga -MAL2Go `manga` package has functionality related to getting data about manga. - -To *update* manga status (score, status, etc) refer to [`user/manga`](../user/manga) package. - -## Structure -- [manga.go](anime.go) -Contains all the exported functions for pulling data from the API. - -- [manga.structs.go](anime.structs.go) -Contains all the structs representing a manga entry on MyAnimeList. - -- [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. - -- [search.structs.go](search.structs.go) -Representing search results. - -- [request_handler.go](request_handler.go) -Responsible for making HTTP requests. - -- [client.go](client.go) -The Client for accessing the API with this package. diff --git a/manga/client.go b/manga/client.go index b674854..940a9c5 100644 --- a/manga/client.go +++ b/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/manga/manga.go b/manga/manga.go index ff18bd7..49e3608 100644 --- a/manga/manga.go +++ b/manga/manga.go @@ -19,8 +19,8 @@ package manga import ( "encoding/json" "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/manga" diff --git a/manga/manga.structs.go b/manga/manga.structs.go index 78a299b..c6c64a6 100644 --- a/manga/manga.structs.go +++ b/manga/manga.structs.go @@ -17,8 +17,8 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/v4/util" - a "github.com/MikunoNaka/MAL2Go/v4/anime" + "dev.vidhukant.xyz/MAL2Go/v4/util" + a "dev.vidhukant.xyz/MAL2Go/v4/anime" ) type Magazine struct { diff --git a/manga/request_handler.go b/manga/request_handler.go index 738fe91..cb813fd 100644 --- a/manga/request_handler.go +++ b/manga/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" ) |