Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
Basically the same as a button, but a Module can contain multiple. They are below the text.
type Module ¶
type Module struct { Caption string `json:"caption"` // Title of the module Image Image `json:"image"` // Image of the module - optional Text string `json:"text"` // Text of the module - optional Links []Link `json:"links"` // Collection of links - optional (ex. RSS feed) Button Button `json:"button",omitonempty` // Button of the module - optional }
The output of a module. Several of these make up an email
func FetchHoroscope ¶
func FetchQuoteOfTheDay ¶
type OhmandaRes ¶
type OhmandaRes struct {
Text string `json:"horoscope"`
}
Click to show internal directories.
Click to hide internal directories.