aboutsummaryrefslogtreecommitdiff
path: root/mal
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 22:52:29 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 22:52:29 +0530
commit3b429fe70ab3004e9d613df745e62a0da9fab552 (patch)
treee2b1c021373698ee89d92aeeb22eea4fcf701b93 /mal
parent7f01a041d863d75d8729ff65b709c814d7a6a125 (diff)
migrating to MAL2Gov4
Diffstat (limited to 'mal')
-rw-r--r--mal/data.go4
-rw-r--r--mal/delete.go4
-rw-r--r--mal/episodes.go4
-rw-r--r--mal/mal.go10
-rw-r--r--mal/score.go4
-rw-r--r--mal/search.go4
-rw-r--r--mal/status.go4
-rw-r--r--mal/user.go2
8 files changed, 18 insertions, 18 deletions
diff --git a/mal/data.go b/mal/data.go
index a488413..59b0e9a 100644
--- a/mal/data.go
+++ b/mal/data.go
@@ -21,8 +21,8 @@ package mal
import (
"fmt"
"os"
- m "github.com/MikunoNaka/MAL2Go/v3/manga"
- a "github.com/MikunoNaka/MAL2Go/v3/anime"
+ m "github.com/MikunoNaka/MAL2Go/v4/manga"
+ a "github.com/MikunoNaka/MAL2Go/v4/anime"
)
// because MAL2Go/Anime.SearchAnime won't give us all the data sometimes
diff --git a/mal/delete.go b/mal/delete.go
index 5a4abca..e6cfd32 100644
--- a/mal/delete.go
+++ b/mal/delete.go
@@ -21,8 +21,8 @@ package mal
import (
"fmt"
// "os"
- a "github.com/MikunoNaka/MAL2Go/v3/anime"
- m "github.com/MikunoNaka/MAL2Go/v3/manga"
+ a "github.com/MikunoNaka/MAL2Go/v4/anime"
+ m "github.com/MikunoNaka/MAL2Go/v4/manga"
)
func DeleteAnime(anime a.Anime) {
diff --git a/mal/episodes.go b/mal/episodes.go
index 56794bb..43b69c0 100644
--- a/mal/episodes.go
+++ b/mal/episodes.go
@@ -21,8 +21,8 @@ package mal
import (
"fmt"
"os"
- a "github.com/MikunoNaka/MAL2Go/v3/user/anime"
- m "github.com/MikunoNaka/MAL2Go/v3/user/manga"
+ a "github.com/MikunoNaka/MAL2Go/v4/user/anime"
+ m "github.com/MikunoNaka/MAL2Go/v4/user/manga"
"github.com/MikunoNaka/macli/util"
)
diff --git a/mal/mal.go b/mal/mal.go
index a10d41a..cb9665e 100644
--- a/mal/mal.go
+++ b/mal/mal.go
@@ -20,11 +20,11 @@ package mal
import (
"github.com/MikunoNaka/macli/auth"
- a "github.com/MikunoNaka/MAL2Go/v3/anime"
- m "github.com/MikunoNaka/MAL2Go/v3/manga"
- u "github.com/MikunoNaka/MAL2Go/v3/user"
- ua "github.com/MikunoNaka/MAL2Go/v3/user/anime"
- um "github.com/MikunoNaka/MAL2Go/v3/user/manga"
+ a "github.com/MikunoNaka/MAL2Go/v4/anime"
+ m "github.com/MikunoNaka/MAL2Go/v4/manga"
+ u "github.com/MikunoNaka/MAL2Go/v4/user"
+ ua "github.com/MikunoNaka/MAL2Go/v4/user/anime"
+ um "github.com/MikunoNaka/MAL2Go/v4/user/manga"
)
var (
diff --git a/mal/score.go b/mal/score.go
index 0540192..2db6000 100644
--- a/mal/score.go
+++ b/mal/score.go
@@ -20,8 +20,8 @@ package mal
import (
"fmt"
- a "github.com/MikunoNaka/MAL2Go/v3/user/anime"
- m "github.com/MikunoNaka/MAL2Go/v3/user/manga"
+ a "github.com/MikunoNaka/MAL2Go/v4/user/anime"
+ m "github.com/MikunoNaka/MAL2Go/v4/user/manga"
)
func SetAnimeScore(animeId, score int) a.UpdateResponse {
diff --git a/mal/search.go b/mal/search.go
index e1c8166..1bad114 100644
--- a/mal/search.go
+++ b/mal/search.go
@@ -21,8 +21,8 @@ package mal
import (
"fmt"
"os"
- a "github.com/MikunoNaka/MAL2Go/v3/anime"
- m "github.com/MikunoNaka/MAL2Go/v3/manga"
+ a "github.com/MikunoNaka/MAL2Go/v4/anime"
+ m "github.com/MikunoNaka/MAL2Go/v4/manga"
)
func SearchAnime(searchString string, fields []string) []a.Anime {
diff --git a/mal/status.go b/mal/status.go
index e0656ed..e48f021 100644
--- a/mal/status.go
+++ b/mal/status.go
@@ -21,8 +21,8 @@ package mal
import (
"fmt"
"os"
- a "github.com/MikunoNaka/MAL2Go/v3/user/anime"
- m "github.com/MikunoNaka/MAL2Go/v3/user/manga"
+ a "github.com/MikunoNaka/MAL2Go/v4/user/anime"
+ m "github.com/MikunoNaka/MAL2Go/v4/user/manga"
)
func SetAnimeStatus(animeId int, status string) a.UpdateResponse {
diff --git a/mal/user.go b/mal/user.go
index c720fa1..c271aab 100644
--- a/mal/user.go
+++ b/mal/user.go
@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
package mal
import (
- u "github.com/MikunoNaka/MAL2Go/v3/user"
+ u "github.com/MikunoNaka/MAL2Go/v4/user"
"fmt"
"os"
)