Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatFollowUp ¶
Types ¶
type GameDayPost ¶
type GameDayPost struct {
Game *mlb.Game
Record *mlb.TeamRecord
H2H *mlb.H2HRecord
Pitcher *mlb.PitcherStats
Horoscope *horoscope.Horoscope
Prediction prediction.Prediction
}
type OffDayPost ¶
type OffDayPost struct {
Record *mlb.TeamRecord
Horoscope *horoscope.Horoscope
}
type Post ¶
type Post struct {
Text string
HoroscopeText string // full text for image card, empty if unavailable
Prediction prediction.Prediction
Game *mlb.Game
}
Post holds the text and optional horoscope for image generation.
func FormatGameDay ¶
func FormatGameDay(p GameDayPost) Post
func FormatOffDay ¶
func FormatOffDay(p OffDayPost) Post
Click to show internal directories.
Click to hide internal directories.