Documentation
¶
Overview ¶
Package templates defines ready-to-use templates to send email in a nice formatting.
It is based on the Hermes package, and other services can use some specific templates Ids when sending emails to apply the formatting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTemplateWithId ¶
Types ¶
type ApplicationConfigs ¶
type ApplicationConfigs struct {
Title string
Url string
From string
Logo string
Copyright string
TroubleText string
Greeting string
Signature string
Theme hermes.Theme
ButtonsColor string
}
func GetApplicationConfig ¶
func GetApplicationConfig(languages ...string) ApplicationConfigs
Source Files
¶
- configs.go
- template.go
Click to show internal directories.
Click to hide internal directories.