Added Fetcher
This commit is contained in:
parent
b823cffe69
commit
40f1687972
10 changed files with 36 additions and 19 deletions
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
)
|
||||
|
||||
func FormatCardPrices(name string, prices []CardPrice) string {
|
||||
func (f *Fetcher) FormatCardPrices(name string, prices []CardPrice) string {
|
||||
message := fmt.Sprintf("Оригинальное название: %v\n", name)
|
||||
message += fmt.Sprintf("Результатов: %v\n", len(prices))
|
||||
for i, v := range prices {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue