Cleanup
This commit is contained in:
14
utils/htmlemail/Renderer.go
Normal file
14
utils/htmlemail/Renderer.go
Normal file
@ -0,0 +1,14 @@
|
||||
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)
|
||||
}
|
Reference in New Issue
Block a user