From e9e2257133f7c8ec9e8204570f33395d74ebe175 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 20 Jul 2023 17:27:16 +0530 Subject: changed import paths to own git server --- manga/README.md | 24 ------------------------ manga/client.go | 2 +- manga/manga.go | 4 ++-- manga/manga.structs.go | 4 ++-- manga/request_handler.go | 2 +- 5 files changed, 6 insertions(+), 30 deletions(-) delete mode 100644 manga/README.md (limited to 'manga') 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" ) -- cgit v1.2.3