Documentation ¶
Overview ¶
Package knowledge provides known and commonly required information about the user. This is useful for plugins to retrieve information such as a user's last known location.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoLocation = errors.New("no previous location")
ErrNoLocation is returned when a location is expected but none can be found.
Functions ¶
func GetAddress ¶
GetAddress returns an address for a given user's message, automatically looking up previously seen addresses named "home" and "office". This enables the user to, for example, ask that a package be sent to the office.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.