speech

package
v0.0.0-...-6e49c5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL