From fff3dadabc321871e6819392efc605c6dffe2e69 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 15 Aug 2023 10:57:27 +0530 Subject: migrated from MAL2Go to mg package --- util/season.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/season.go') diff --git a/util/season.go b/util/season.go index 62645bf..96f7e70 100644 --- a/util/season.go +++ b/util/season.go @@ -21,11 +21,11 @@ package util import ( "time" "strconv" - a "github.com/MikunoNaka/MAL2Go/v4/anime" + "vidhukant.com/mg" ) -func GetCurrentSeason() a.Season { +func GetCurrentSeason() mg.Season { today := time.Now() month := today.Format("01") @@ -43,7 +43,7 @@ func GetCurrentSeason() a.Season { season = "fall" } - return a.Season { + return mg.Season { Name: season, Year: year, } -- cgit v1.2.3