Added different formatting for telegram bot
This commit is contained in:
parent
35f8fa5a57
commit
89623f5f6a
18 changed files with 233 additions and 173 deletions
|
|
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue