Added Fetcher

This commit is contained in:
Artyom Belousov 2021-02-07 10:33:16 +03:00
parent b823cffe69
commit 40f1687972
10 changed files with 36 additions and 19 deletions

View file

@ -6,7 +6,8 @@ import (
)
func TestFormatCardPrices(t *testing.T) {
formatted := FormatCardPrices("card", []CardPrice{
f := &Fetcher{}
formatted := f.FormatCardPrices("card", []CardPrice{
&ScgCardPrice{
Price: "1.5$",
Edition: "ED",