From 199ac143a485cca90f3ee65862b0faf115603e02 Mon Sep 17 00:00:00 2001 From: Kharec Date: Tue, 16 Dec 2025 15:05:23 +0100 Subject: [PATCH] refactor: replace interface{} by any --- cmd/goyco/commands/migrate.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/goyco/commands/migrate.go b/cmd/goyco/commands/migrate.go index 322abd3..b4b3d9c 100644 --- a/cmd/goyco/commands/migrate.go +++ b/cmd/goyco/commands/migrate.go @@ -5,9 +5,10 @@ import ( "fmt" "os" - "gorm.io/gorm" "goyco/internal/config" "goyco/internal/database" + + "gorm.io/gorm" ) func HandleMigrateCommand(cfg *config.Config, name string, args []string) error { @@ -37,7 +38,7 @@ func runMigrateCommand(db *gorm.DB) error { return fmt.Errorf("run migrations: %w", err) } if IsJSONOutput() { - outputJSON(map[string]interface{}{ + outputJSON(map[string]any{ "action": "migrations_applied", "status": "success", })