From 942f1f1be027a536b6a152caadd85a7af1a1fdd4 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 29 Jun 2022 22:51:43 +0530 Subject: fixed all bad imports importing older version --- anime/anime.go | 4 ++-- anime/anime.structs.go | 2 +- anime/client.go | 2 +- anime/request_handler.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'anime') 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" ) -- cgit v1.2.3