diff options
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | anime/anime.go | 4 | ||||
-rw-r--r-- | anime/anime.structs.go | 2 | ||||
-rw-r--r-- | anime/client.go | 2 | ||||
-rw-r--r-- | anime/request_handler.go | 2 | ||||
-rw-r--r-- | errhandlers/errhandlers.go | 2 | ||||
-rw-r--r-- | manga/client.go | 2 | ||||
-rw-r--r-- | manga/manga.go | 4 | ||||
-rw-r--r-- | manga/manga.structs.go | 2 | ||||
-rw-r--r-- | manga/request_handler.go | 2 | ||||
-rw-r--r-- | user/client.go | 2 | ||||
-rw-r--r-- | user/manga/client.go | 2 | ||||
-rw-r--r-- | user/manga/mangalist.go | 6 | ||||
-rw-r--r-- | user/manga/mangalist.structs.go | 2 | ||||
-rw-r--r-- | user/manga/request_handler.go | 2 | ||||
-rw-r--r-- | user/manga/update_mangalist.go | 2 | ||||
-rw-r--r-- | user/request_handler.go | 2 |
17 files changed, 25 insertions, 25 deletions
@@ -5,11 +5,11 @@ MyAnimeList V2 API wrapper for GoLang MAL2Go is divided into multiple packages. Each package needs to be installed manually. In a terminal, run ``` fish -go get github.com/MikunoNaka/MAL2Go/anime -go get github.com/MikunoNaka/MAL2Go/manga -go get github.com/MikunoNaka/MAL2Go/user -go get github.com/MikunoNaka/MAL2Go/user/anime -go get github.com/MikunoNaka/MAL2Go/user/manga +go get github.com/MikunoNaka/MAL2Go/v2/anime +go get github.com/MikunoNaka/MAL2Go/v2/manga +go get github.com/MikunoNaka/MAL2Go/v2/user +go get github.com/MikunoNaka/MAL2Go/v2/user/anime +go get github.com/MikunoNaka/MAL2Go/v2/user/manga ``` To install the packages you'd usually need. To find out more about what each package does, refer to [Package Structure](#Package-Structure) diff --git a/anime/anime.go b/anime/anime.go index ed18a52..7181e37 100644 --- a/anime/anime.go +++ b/anime/anime.go @@ -20,8 +20,8 @@ import ( "encoding/json" "fmt" "strconv" - e "github.com/MikunoNaka/MAL2Go/errhandlers" - u "github.com/MikunoNaka/MAL2Go/util" + e "github.com/MikunoNaka/MAL2Go/v2/errhandlers" + u "github.com/MikunoNaka/MAL2Go/v2/util" ) const BASE_URL string = "https://api.myanimelist.net/v2/anime" diff --git a/anime/anime.structs.go b/anime/anime.structs.go index 9466232..55f2df2 100644 --- a/anime/anime.structs.go +++ b/anime/anime.structs.go @@ -17,7 +17,7 @@ package anime import ( - u "github.com/MikunoNaka/MAL2Go/util" + u "github.com/MikunoNaka/MAL2Go/v2/util" ) type AnimeStatistics struct { diff --git a/anime/client.go b/anime/client.go index e857df2..090571b 100644 --- a/anime/client.go +++ b/anime/client.go @@ -17,7 +17,7 @@ package anime import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type Client util.DefaultClient diff --git a/anime/request_handler.go b/anime/request_handler.go index 816417e..1aec83b 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/util" + "github.com/MikunoNaka/MAL2Go/v2/util" "errors" ) diff --git a/errhandlers/errhandlers.go b/errhandlers/errhandlers.go index dd5f9f8..425ba99 100644 --- a/errhandlers/errhandlers.go +++ b/errhandlers/errhandlers.go @@ -17,7 +17,7 @@ package errhandlers import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) // this is only for anime fields diff --git a/manga/client.go b/manga/client.go index 272bfff..4622835 100644 --- a/manga/client.go +++ b/manga/client.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type Client util.DefaultClient diff --git a/manga/manga.go b/manga/manga.go index c83200a..576526c 100644 --- a/manga/manga.go +++ b/manga/manga.go @@ -19,8 +19,8 @@ package manga import ( "encoding/json" "strconv" - e "github.com/MikunoNaka/MAL2Go/errhandlers" - u "github.com/MikunoNaka/MAL2Go/util" + e "github.com/MikunoNaka/MAL2Go/v2/errhandlers" + u "github.com/MikunoNaka/MAL2Go/v2/util" ) const BASE_URL string = "https://api.myanimelist.net/v2/manga" diff --git a/manga/manga.structs.go b/manga/manga.structs.go index ed94111..2e79362 100644 --- a/manga/manga.structs.go +++ b/manga/manga.structs.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type Author struct { diff --git a/manga/request_handler.go b/manga/request_handler.go index 8484a57..070ea6b 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/util" + "github.com/MikunoNaka/MAL2Go/v2/util" "errors" ) diff --git a/user/client.go b/user/client.go index 8a1105e..32bdc34 100644 --- a/user/client.go +++ b/user/client.go @@ -17,7 +17,7 @@ package user import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type Client util.DefaultClient diff --git a/user/manga/client.go b/user/manga/client.go index 272bfff..4622835 100644 --- a/user/manga/client.go +++ b/user/manga/client.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type Client util.DefaultClient diff --git a/user/manga/mangalist.go b/user/manga/mangalist.go index b60b1d7..7d7cadc 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/errhandlers" - u "github.com/MikunoNaka/MAL2Go/util" - m "github.com/MikunoNaka/MAL2Go/manga" + e "github.com/MikunoNaka/MAL2Go/v2/errhandlers" + u "github.com/MikunoNaka/MAL2Go/v2/util" + m "github.com/MikunoNaka/MAL2Go/v2/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 d7e5352..7b69586 100644 --- a/user/manga/mangalist.structs.go +++ b/user/manga/mangalist.structs.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/manga" + "github.com/MikunoNaka/MAL2Go/v2/manga" ) type mangaListRaw struct { diff --git a/user/manga/request_handler.go b/user/manga/request_handler.go index 0258b38..edd8de6 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/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type UpdateResponse struct { diff --git a/user/manga/update_mangalist.go b/user/manga/update_mangalist.go index b60bfd0..7d488dc 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/errhandlers" + e "github.com/MikunoNaka/MAL2Go/v2/errhandlers" "fmt" "net/url" "strconv" diff --git a/user/request_handler.go b/user/request_handler.go index b401fc1..d2e1c34 100644 --- a/user/request_handler.go +++ b/user/request_handler.go @@ -20,7 +20,7 @@ import ( "io/ioutil" "log" "net/http" - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" "errors" "encoding/json" ) |