mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-21 04:11:16 +00:00
24 lines
643 B
Go
24 lines
643 B
Go
package plugins
|
|
|
|
type (
|
|
// TemplateFuncDocumentation contains a documentation for a template
|
|
// function to be rendered into the documentation site
|
|
TemplateFuncDocumentation struct {
|
|
Name string
|
|
Description string
|
|
Syntax string
|
|
Example *TemplateFuncDocumentationExample
|
|
Remarks string
|
|
}
|
|
|
|
// TemplateFuncDocumentationExample contains an example of the
|
|
// function execution to be rendered as an example how to use the
|
|
// template function
|
|
TemplateFuncDocumentationExample struct {
|
|
MatchMessage string
|
|
MessageContent string
|
|
Template string
|
|
ExpectedOutput string
|
|
FakedOutput string
|
|
}
|
|
)
|