Added different formatting for telegram bot

This commit is contained in:
Artyom Belousov 2021-06-06 17:21:29 +03:00
parent 35f8fa5a57
commit 89623f5f6a
18 changed files with 233 additions and 173 deletions

View file

@ -3,6 +3,8 @@ package scenario
import (
"bytes"
"log"
"gitlab.com/flygrounder/go-mtg-vk/internal/cardsinfo"
)
type TestScenarioCtx struct {
@ -21,8 +23,14 @@ func GetTestScenarioCtx() TestScenarioCtx {
Logger: log.New(buf, "", 0),
InfoFetcher: &testInfoFetcher{},
Cache: &testCache{
table: map[string]string{
"good": "good",
table: map[string][]cardsinfo.ScgCardPrice{
"good": {
{
Price: "1",
Edition: "alpha",
Link: "scg",
},
},
},
},
},