fixed little mistake in custom theme example
This commit is contained in:
parent
377cc7e34f
commit
260cc4ad10
|
@ -45,7 +45,7 @@ func (dt *MyCustomTheme) HTMLTemplate() string {
|
||||||
return "<A go html template with wanted information>"
|
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)
|
// 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)
|
// 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>"
|
return "<A go plaintext template with wanter information>"
|
||||||
|
|
Loading…
Reference in New Issue