From 956ae53b5932ef46eb04e09e7b6d30db1abef4f9 Mon Sep 17 00:00:00 2001 From: Florian Baumann Date: Fri, 17 Oct 2025 11:26:25 +0200 Subject: [PATCH] Rename exportJson to exportJSON --- pkg/serra/export.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/serra/export.go b/pkg/serra/export.go index ac63c53..76cc94f 100644 --- a/pkg/serra/export.go +++ b/pkg/serra/export.go @@ -46,7 +46,7 @@ var exportCmd = &cobra.Command{ case "moxfield": exportMoxfield(cardList) case "json": - exportJson(cardList) + exportJSON(cardList) } return nil }, @@ -121,7 +121,7 @@ func exportTCGHome(cards []Card) { } } -func exportJson(cards []Card) { +func exportJSON(cards []Card) { ehj, _ := json.MarshalIndent(cards, "", " ") fmt.Println(string(ehj)) }