Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = speakers.Current{}.Speak
Default speaks the default message
Functions ¶
func Speak ¶
func Speak(loc *tz.Location, weather *darksky.Forecast, pol *pollen.Forecast, q alexa.WeatherRequest) string
Speak formats weather that makes sense to the query. If no handler is found then the Default speaker is used.
if the question is "will it rain tomorrow?" then the response should respond with yes or no and the time it is expected to rain
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.