15 lines
392 B
Go
Raw Normal View History

2019-08-31 02:55:01 +00:00
package htmlemail
import (
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/notify.moe/components"
)
// Renderer uses pixy templates to render the HTML for our emails.
type Renderer struct{}
// Notification renders a notification email.
func (writer *Renderer) Notification(notification *arn.Notification) string {
return components.NotificationEmail(notification)
}