Added different formatting for telegram bot
This commit is contained in:
parent
35f8fa5a57
commit
89623f5f6a
18 changed files with 233 additions and 173 deletions
|
|
@ -1,18 +1,13 @@
|
|||
package cardsinfo
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type scgCardPrice struct {
|
||||
price string
|
||||
edition string
|
||||
link string
|
||||
}
|
||||
|
||||
func (s *scgCardPrice) format() string {
|
||||
return fmt.Sprintf("%v: %v\n%v\n", s.edition, s.price, s.link)
|
||||
type ScgCardPrice struct {
|
||||
Price string
|
||||
Edition string
|
||||
Link string
|
||||
}
|
||||
|
||||
type card struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue