twitch-bot/plugins/tplfuncdoc.go
Knut Ahlers c78356f68f
Lint: Update linter config, improve code quality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-01 17:52:39 +01:00

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
}
)