Rename exportJson to exportJSON
This commit is contained in:
parent
7a1803df3a
commit
956ae53b59
@ -46,7 +46,7 @@ var exportCmd = &cobra.Command{
|
|||||||
case "moxfield":
|
case "moxfield":
|
||||||
exportMoxfield(cardList)
|
exportMoxfield(cardList)
|
||||||
case "json":
|
case "json":
|
||||||
exportJson(cardList)
|
exportJSON(cardList)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
@ -121,7 +121,7 @@ func exportTCGHome(cards []Card) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func exportJson(cards []Card) {
|
func exportJSON(cards []Card) {
|
||||||
ehj, _ := json.MarshalIndent(cards, "", " ")
|
ehj, _ := json.MarshalIndent(cards, "", " ")
|
||||||
fmt.Println(string(ehj))
|
fmt.Println(string(ehj))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user