Documentation
¶
Index ¶
Constants ¶
View Source
const ( InfoTpl = `Version: %s BuildTime %s` HelloTpl = `Привет, %s` SearchAnswerTpl = "Поиск по запросу %q" HelpTpl = `` /* 151-byte string literal not displayed */ SearchTpl = `` /* 262-byte string literal not displayed */ )
Variables ¶
View Source
var ( SearchRe = regexp.MustCompile(`(?i)search\s(.*)`) QueryRe = regexp.MustCompile(`\s`) )
View Source
var Module = module.Module{
{Constructor: newConfig},
{Constructor: newService},
}
Functions ¶
func SearchTemplate ¶
Types ¶
type SearchResults ¶
type SearchResults struct {
Commands []Command
}
func SearchInDocuments ¶
func SearchInDocuments(query string) (*SearchResults, error)
type StringsField ¶
type StringsField [][]string
Click to show internal directories.
Click to hide internal directories.