fixed little mistake in custom theme example

This commit is contained in:
Mathieu Cornic 2017-08-17 00:43:30 +02:00 committed by GitHub
parent 377cc7e34f
commit 260cc4ad10
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ func (dt *MyCustomTheme) HTMLTemplate() string {
return "<A go html template with wanted information>"
}
func (dt *Default) PlainTextTemplate() string {
func (dt *MyCustomTheme) PlainTextTemplate() string {
// Get the template from a file (if you want to be able to change the template live without retstarting your application)
// Or write the template by returning pure string here (if you want embbeded template and do not bother with external dependencies)
return "<A go plaintext template with wanter information>"